Questions tagged [xamarin.ios]

Xamarin.iOS (previously known as MonoTouch) is a commercial software development kit for Mac OS X and Windows that lets you use C# (a .NET programming language) to create native applications for Apple iPhone, iPod Touch, iPad (iOS), Apple Watch (watchOS) and AppleTV (tvOS) devices.

Xamarin.iOS (previously known as MonoTouch) is a cross-platform implementation of Microsoft's CLI (.NET) that lets developers write "once" for iOS, OS X, Android, and Windows Phone in C#.

Xamarin comprises an IDE (Xamarin Studio for OS X and Windows), a plugin for Visual Studio, and libraries for each of the target OS's. Xamarin implements a hybrid approach to cross-platform development, whereby business logic exists in a shared core project, and the visual layer is implemented in platform-specific projects for each target platform.

Developers thus have access to advanced C# language features and libraries, as well as platform-specific UI libraries. To comply with Apple policy, iOS and OS X apps compile "all the way out" so as not to require a runtime.

16577 questions
21
votes
7 answers

How to develop iOS app using Xamarin Studio on Windows?

I'm evaluating a Xamarin Studio indie license which does not include VS integration - Correct me if I am wrong. But I want to know if it's possible to use Xamarin Studio to do iOS development? I'm very interested in the new feature of iOS designer…
imgen
  • 2,803
  • 7
  • 44
  • 64
21
votes
3 answers

How big is an Objective-C iPhone app vs. a MonoTouch app?

I am considering using MonoTouch for some iPhone development, but payload size is an important factor. For a user who has never installed Mono on their iPhone before, what would the size of an Objective-C "Hello World" app be compared to a MonoTouch…
D'Arcy Rittich
  • 167,292
  • 40
  • 290
  • 283
20
votes
1 answer

MonoTouch: Where is Frame.Origin?

I am trying to translate this centering code snip in Objective-C into MonoTouch imageView.frame.origin.x = CGRectGetMidX(view.bounds) - CGRectGetMidX(imageView.bounds) But can't find where Origin is.
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
20
votes
1 answer

parsing an enumeration in JSON.net

i'm using JSON.net (maybe v3.5ish? it's from oct. 2010). and i'm trying to deserialize some json into an enumeration: geometryType: "esriGeometryPolygon" i have this enumeration: /// /// The geometry type. ///…
bryan costanich
  • 1,719
  • 6
  • 20
  • 33
20
votes
4 answers

Xamarin iOS: The post for client build... has been cancelled

I am unable to launch my Xamarin App from visual studio on my PC to the iOS Simulator on a networked Mac. I am getting the following error: C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(543,3): warning : The post for client…
Rahul Chauhan
  • 201
  • 2
  • 5
20
votes
1 answer

Portable Class Library vs. library project

I want to know the difference between PCL (Portable Class Library) and a normal library. PCL uses profiles with which it can be determined which platforms and features are available. Both can generate a DLL which can be used on different platforms.…
testing
  • 19,681
  • 50
  • 236
  • 417
20
votes
4 answers

iOS 8, How to use device for development?

I have a new iPad Retina and I'd like to use it for development with Xamarin Studio and XCode 6. In the past, with XCode 5 you simply connect the device and click the button that says "Use for Development". But XCode 6 doesn't have that button…
LampShade
  • 2,675
  • 5
  • 30
  • 60
20
votes
1 answer

How to tell LLDB debugger not to handle SIGBUS?

I'm embedding MonoTouch in an Xcode project, and want to stop LLDB debugger from handling SIGBUS signals, since they are used by the mono runtime. How can I do that?
Ergwun
  • 12,579
  • 7
  • 56
  • 83
19
votes
6 answers

iPhone/iPad: How to make UITextField readonly (but not disabled)?

I understand this question has been asked before, but I'm not satisfied with the answers, i.e. by making it disabled. There is a fundamental difference: Disabled view doesn't fire events, but for a read-only view, it should still fire event like…
newman
  • 6,841
  • 21
  • 79
  • 126
19
votes
7 answers

iPhone: UIImageView Fades in - Howto?

I have an UIImageView that I want to fade in. Is there a way to enable that on an underlying UIViewController? I have translated the simplest answer, though they all work, C# .NET for the MonoTouch users: public override void ViewDidAppear (bool…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
19
votes
1 answer

Is it possible to use "PackageReference" in Xamarin.Android or Xamarin.iOS projects?

By default, Xamarin.iOS and Xamarin.Android projects use a package.config file to manage Nuget dependencies. The Microsoft page about Package references (PackageReference) in project files says: By default, PackageReference is used for .NET Core…
Bruno Peres
  • 15,845
  • 5
  • 53
  • 89
19
votes
5 answers

Xamarin Forms iOS status bar text color

I am unable to change the status bar text color of my Xamarin Forms iOS app to white. I have change in my info.plist as…
Huby03
  • 801
  • 2
  • 14
  • 28
19
votes
2 answers

How to partially cut ViewCell separator line in Xamarin Forms?

I am using ViewCell to create rows in my table settings page. I have a setting to select a Light or Dark theme.
user6742877
19
votes
1 answer

Is this a memory leak in Xamarin Forms?

I have run into a problem where it appears Page objects are not being Garbage Collected once they have been navigated away from. I have put together a very basic example of this that demonstrates the issue when using a NavigationPage and the…
tonyj444
  • 383
  • 4
  • 13
19
votes
1 answer

Can I make MonoDevelop look good on a Retina display?

I bought a new Retina MacBook Pro to develop for iOS with MonoTouch. It is extremely frustrating that, probably because it is built on Gtk#, MonoDevelop is very blurry. I can cope with blurry UI but I can't read or write code because it hurts my…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511