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
13
votes
2 answers

Monotouch/WCF: How to consume the wcf service without svcutil

Becuase monotouch compile to native code, so it has some limitation such as dynamic invoke is not allowed. But I have a lot class in .net, that I use the ChannelFactory dynamic to invoke the wcf service: new ChannelFactory(myBinding, myEndpoint);…
BlueSky
  • 747
  • 6
  • 19
12
votes
0 answers

Bug in Mono C# compiler's implementation of yield?

This code causes an internal compiler error at the if(false) statement, using the 2.10.8 dmcs as well as MonoTouch. Is this known? (This may be a bug report, but I could be doing something lame.) using System; using System.Collections; class X { …
bright
  • 4,700
  • 1
  • 34
  • 59
12
votes
7 answers

Xamarin: Unable to upload Archive to AppStore

Visual Studio 2019 (Windows) / Xamarin 4.7.0.968 I create an iOS Archive (with no errors) but when I choose Distribute / AppStore and select the ID/Profile that I have already set up in Visual Studio, I get prompted for ID/Password as expected. But…
Rob L
  • 2,124
  • 3
  • 22
  • 50
12
votes
2 answers

How do I register defaults in MonoTouch?

I want to register the default values in NSUserDefaults so that the user settings do not return null values for values not explicitly set by the user, but rather return the default values specified in settings bundle. I read here: How to register…
BruceHill
  • 6,954
  • 8
  • 62
  • 114
12
votes
3 answers

Push notifications Service using monotouch

I am starting to look for the Apple Push Notification Service . I have an created using Monotouch framework, How can I start to let my app use the apple Push Notification Service, Should I create a Web Service that handle my event and if the…
12
votes
1 answer

UITableViewCell's DetailTextLabel is null, missing something?

I'm missing something I suspect is obvious but I can't find it. UITableViewCell cell = tableView.DequeueReusableCell("MyCell"); if (cell == null) { cell = new UITableViewCell(UITableViewCellStyle.Default,…
Driss Zouak
  • 2,381
  • 2
  • 26
  • 39
12
votes
1 answer

How can I change the Font Size and Weight for the Back Arrow and Back Text in a Navigation Page?

I had a similar question on how to change the font of the title which is here: How can I change the Font Size and Weight for the Header in a Navigation Page? Now I have that changed does anyone know how to also change the font size and weight for…
Alan2
  • 23,493
  • 79
  • 256
  • 450
12
votes
2 answers

Automated conversion of aps-environment from development to production in Xamarin

In my Xamarin iOS project, Entitlements.plist has aps-environment set to development, for dev testing purposes. I'm using the Visual Studio Team Services Extension for the App Store to automate publishing builds to TestFlight. However, when it uses…
12
votes
2 answers

A good folder structure for Xamarin form projects

Since I'm new to Xamarin forms, I'm not quite aware of How to arrange your Xamarin form project in a good folder structure? For eg. I have a project which contains following files : Network calling Database handling Views creations Model-View…
Vineet Ravi
  • 1,457
  • 2
  • 12
  • 26
12
votes
1 answer

Xamarin "xcodebuild output not as expected"

I'm trying to get Xamarin.UITests working for an iOS project and I keep getting this error: SetUp : Calabash.XDB.Core.Exceptions.ExternalProcessException : xcodebuild output not as expected If anybody has any idea how to continue debugging this,…
argbo
  • 526
  • 3
  • 10
12
votes
4 answers

Could not retrieve SSH fingerprint. Make sure that Mac is reachable and remote login is enabled

I am trying to connect to MAC Build host from visual studio but when i press connect button, above error is shown (same as title of this question).Please spend a few minutes reading following log file and provide me with your precious suggestions to…
12
votes
2 answers

How to debug a Xamarin.iOS app on a physical iOS device

Apologies, in advance, for this long question, but I have wasted 3 days unsuccessfully trying to set up a Xamarin.iOS development environment that allows me to debug on a physical device (not an iPhone simulator) and I am at a loss for what to try…
12
votes
2 answers

Xamarin.IOS Error - Can not resolve reference: C:/Program Files (x86)/../Xamarin.iOS/v1.0/Facades/System.Private.CoreLib.InteropServices.dll

I working on Cross-platform PCL Xamarin Forms (Android,IOS) Project. I am using Visual Studio 2015 and Window 10 OS to make xamarin project. I have installed Xamarin studio in MAC PC to run IOS project. My IOS and android project was successfully…
Kirti Zare
  • 719
  • 1
  • 12
  • 35
12
votes
4 answers

Xamarin Forms: how to hide back button title?

In my Xamarin Forms iOS application the previous page name is also appearing with the back button in all pages. Is there any way to hide the title of the previous page?
Aneesh.A.M
  • 1,128
  • 4
  • 17
  • 35
12
votes
0 answers

binding ObjectiveC to C# - btouch unexpected error

I try to bind the ArcGIS SDK for a Xamarin Project. I already have build a fat library and use Objective Sharpie to create the ApiDefination.cs and StructsAndEnums.cs. I fixed all issues, warnings and errors in the binding project but when i build…
AndyPipkin
  • 147
  • 7