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

How to use SQLiteAsyncConnection from the async PCL version of SQLite?

I'm using a PCL version of Sqlite.net from https://github.com/oysteinkrog/SQLite.Net-PCL However, I'm unable to get the DB connection setup. The SQliteAsyncConnection does unlike the original version not take a string (path to the DB), but a [Func<…
Krumelur
  • 32,180
  • 27
  • 124
  • 263
14
votes
4 answers

Images in Interface Builder when using MonoTouch

I'm new to MonoTouch and iPhone development. I have my images (PNG) in a resources folder in MonoDevelop, however if I want to set the image property for a button in Interface Builder, how do I do that? It's always a blank dropdown. Do I need to use…
Driss Zouak
  • 2,381
  • 2
  • 26
  • 39
14
votes
1 answer

Check for internet access with monotouch

How can I check internet access with MonoTouch? I don't care if the internet comes from a WIFI or the Cell Network, all I care is whether there is internet access or not.
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
14
votes
1 answer

How to enable iPhone Settings (bundle, plist) in MonoTouch

I'm trying to get the iPhone Settings working in a small test app I'm writing using MonoTouch/MonoDevelop. It's probably super basic/fundamental in Xcode... ...however I didn't immediately see how to do it in the MonoTouch examples, and after a bit…
Conceptdev
  • 3,261
  • 1
  • 21
  • 23
14
votes
1 answer

Zoom a UIWebView like iOS Mail App

I'd like to recreate a view that you can zoom like the iPhone/iPad Mail app or Sparrow when viewing an email, where at the top there is block of information and then a UIWebView. I can obviously do this easily in interface builder or code, BUT I…
andywhitt
  • 190
  • 8
14
votes
2 answers

What's the recommended way to prefix Console.Write?

I'm looking for a way to insert a prefix (date and time) to every Console.Write[Line]. I'm looking for a recommended way to do so, just like the recommended way for changing the output is to use Console.SetOut. I'm well aware that I can do…
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
13
votes
2 answers

Using Monocross on Windows Phone 7 with Panorama and/or Pivot control

I love the Monocross idea but am a bit lost for Windows Phone 7 when I want to use a Panorama and/or Pivot control. The only view provided is the Page view. So navigating from one page to another works great! But now I want a Pivot or Panorama.…
13
votes
5 answers

Error being thrown when trying to debug from JetBrains Rider: error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation'

I am unable to debug a Xamarin.iOS application out of JetBrains Rider 2022.2.2. This is the error that gets thrown when trying to deploy to the simulator: error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path:…
Ron Saylor
  • 381
  • 6
  • 19
13
votes
2 answers

How can I make my app send out notifications when it's loaded but not running in the foreground?

I have an app that I use sometimes. I must have left it there in the background before I slept. When I woke up I saw this notification on my screen. Does anyone have any suggestions on how I can make a notification like this appear with my XF…
Alan2
  • 23,493
  • 79
  • 256
  • 450
13
votes
2 answers

system.web functionality in Mono missing?

I need HttpUtility for encoding strings, but it seems it was supported, but no longer. Actually, the whole System.Web is gone. Is there an alternative? I need to Javascript Escape some strings.
13
votes
3 answers

Automated builds in monotouch

I am currently trying to implement a one-click build solution (without having to start the monodevelop IDE) for my monotouch projects, where i could specify provisioning profiles and code signing certificates. I searched popular build tools like…
madoke
  • 873
  • 11
  • 25
13
votes
4 answers

Why won't instruments execute my Monotouch application?

I'm trying to use Instruments to look at resource usage in my Monotouch app. However, I can't get the app to launch through Instruments. When I hit the record button in Instruments, the app launches on my iPhone, buzzes (signifying it's a debug…
dommer
  • 19,610
  • 14
  • 75
  • 137
13
votes
1 answer

Error in Xamarin.iOS ARKit demo project: “32-bit architectures are not supported when deployment target is 11 or later"

When deploying the ARKit Sample project from https://developer.xamarin.com/samples/monotouch/ios11/ARKitSample/, I get the build error Invalid architecture: ARMv7. 32-bit architectures are not supported when deployment target is 11 or…
Fritz Lim
  • 2,089
  • 2
  • 19
  • 22
13
votes
2 answers

Monotouch - ICSharpCode.SharpZipLib giving an error

Hy guys, I'm trying to generate a Zip File with ICSharpCode.SharpZipLib library but it's throwing a really weird error. Code: public static void ZipFiles(string inputFolderPath, string outputPathAndFile, string password) { …
Claudio
  • 1,987
  • 3
  • 29
  • 55
13
votes
3 answers

Xamarin.iOS & XCode 8.3: how to download provisioning profiles?

Below is the the Xcode 8.3 interface for managing developer accounts, provisioning profiles, etc. In earlier versions of Xcode it looked like this: I cant seem to figure out how to use Xcode to download new or updated provisioning profiles in a…
Corstiaan
  • 1,114
  • 15
  • 34