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
4
votes
3 answers

Check if WIFI is available on Xamarin iOS

In Detect if Network is Available the Reachability class is introduced. InternetConnectionStatus() doesn't seem to do what I want. I want to check if WiFi is available, regardless if the Internet connection is possible. Don't know if it was the…
testing
  • 19,681
  • 50
  • 236
  • 417
4
votes
2 answers

Is there a way to detect whether Mono uses Boehm GC or SGen GC at runtime?

I'd like to be able detect at runtime whether the Mono runtime uses the Boehm GC or the SGen GC. I tried googling for solutions and have spent some time browsing Mono documentation, but couldn't find a solution. Is there a way to detect which GC…
user3841986
4
votes
3 answers

SIGABRT error when running MonoTouch application

I'm new to MonoTouch and more times than not, when I try to run my MonoTouch app on the iPhone simulator (debug mode and regular), I receive a long error output that begins with the following message: Error connecting stdout and stderr…
Ross Hambrick
  • 5,880
  • 2
  • 43
  • 34
4
votes
3 answers

Autofac quit resolving constructors on iOS after Xamarin update

So I updated my Xamarin install today to the latest stable version. Since the update, my app won't run on iOS (runs fine on Android)... the error is that it can't resolve the constructor. Autofac.Core.DependencyResolutionException: No constructors…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
4
votes
1 answer

What could cause a UIImageView to only display / render half of the loaded Image?

When navigating through the app the header has a logo which depending on the section loads a header image. For testing I am always using the same image file for now, however... calling the same method to change the uiimageview's image (passing the…
4
votes
1 answer

Interoperability of Xamarin.iOS and Swift

For an existing App written in C# using Xamarin.iOS is there a way that Swift can take over and use the existing App as a library? The App uses different frameworks like Vici CoolStorage, Google Maps, SQL Cipher and they are all included in the C#…
n.t
  • 103
  • 2
  • 10
4
votes
1 answer

Xamarin.iOS: Bundle nib's are not getting copied to Simulator/Device for Debug/Release

I'm Binding to an Objective-C native library with Xamarin Custom Bindings. I got the whole application working in Visual Studio with the generated DLL. I also added the bundle (of the library I'm binding to) and marked the images and nib's inside it…
Dinis Vieira
  • 295
  • 1
  • 15
4
votes
1 answer

Adding User Defined Runtime Attributes?

Is there a way to add user defined runtime attributes to a button in Xamarin's storyboard designer? I'm trying to get Pixate Freestyle to work and need to define the attributes. I can only find the place to define them within xcode.
Deekor
  • 9,144
  • 16
  • 69
  • 121
4
votes
5 answers

Make a phonecall ios xamarin

I currently have a button in a table view. I have a custom cell class and an update cell method. public void UpdateCell (string subtitle2) { call.SetTitle(subtitle2, UIControlState.Normal); call.TouchUpInside += (object…
user3748957
  • 107
  • 1
  • 4
  • 11
4
votes
6 answers

Customize TabbedPage color schema - Xamarin.Forms

Is there a way I can customize the color schema of tabs on Xamarin.Forms.TabbedPage object so it does not take the default look and feel of the target platform? I would like to change font color, background and current selected tab color.
Michael Kniskern
  • 24,792
  • 68
  • 164
  • 231
4
votes
3 answers

Xamarin iOS app.config file

I am wondering if there is a way to store some data in a app.config like file. The data I would like to store would be : URL's with their keys. I have tries looking up property lists but I have no idea how to acces these? Edit 1: The main idea is to…
Glenn Bettens
  • 65
  • 1
  • 8
4
votes
1 answer

Xamarin.Forms : Does anyone know what's the equivalent of WillEnterForeground and DidEnterBackground in Xamarin.Forms?

I am rewriting an app that I wrote in Xamarin.iOS into Xamarin.Forms and I used to have some codes to execute on DidEnterBackground and WillEnterForeground. Now I can't find the equivalent method in Xamarin.Forms. I've tried mainPage.Appearing and…
dmc
  • 807
  • 2
  • 10
  • 25
4
votes
1 answer

Bring next set of Images in RestSharp

I am trying to create a endless table in Xamarin as a Instagram Client. However when I scroll to the bottom of the screen it loads the same 2nd page of images back. It loads the first page normally then it loads the 2nd page normally, however when i…
Prad
  • 469
  • 1
  • 8
  • 28
4
votes
1 answer

Issue while installing NuGet package Xamarin

Iam making a android project with Azure mobile services in Xamarin. I want to install the latest version of the Azure mobile services NuGet package. But I get a error saying :- NuGet.NuGetVersionNotSatisfiedException: The 'Microsoft.Bcl 1.1.9'…
user3713706
  • 1,243
  • 4
  • 15
  • 18
4
votes
2 answers

mvvmcross with Xamarin.Forms

I developed an app based on Xamarin for iOS & Andsroid using mvvmcross. 2 weeks ago Xamarin announced Xamarin.Forms. Did someone succeeded porting Xamarin with mvvmcross to Camarin.Forms with mvvmcross? I want to reuse most of my code, I'm using:…