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

How to create static library from an existing framework in iOS?

I have been provided with a framework by a third party vendor for an iPhone hardware accessory. So I have a folder like Device.framework. Inside that folder is a binary file and a set of .h files. There are instructions for how to add this to an iOS…
16
votes
5 answers

The "XamarinDownloadArchives" task could not be initialized with its input parameters

I am getting two error while Compiling Xamarin.iOS application on Visual Studio Mac (Version 8.4.3 (build 12)). Xamarin.Forms 4.4.0.991640 Xamarin.Build.Download.0.9.0 Error :…
deep sinha
  • 191
  • 1
  • 8
16
votes
2 answers

Recreate recipient bubble behaviour in Mail.app / Three20

Krumelur asked this question about how create a recipient bubble similar to the mail.app. Please see screenshots below of what I mean: I can create the look of this element (including the look when it has been selected) but I am struggling with…
Luke
  • 3,665
  • 1
  • 19
  • 39
16
votes
7 answers

How to hide navigation Toolbar icon in xamarin?

I want to hide navigation bar button in xamarin. how can i do that using binding. Toolbar item doesn't have "IsVisible" property. Following is my xaml code please help me to sort out this issue.
Maulik shah
  • 1,664
  • 1
  • 19
  • 45
16
votes
6 answers

Messagebox.Show and DialogResult equivalent in MonoTouch

I have a Yes/No dialog from UIAlertView with two buttons. I would like in my method to implement the logic similar to this: if(messagebox.Show() == DialogResult.OK) The thing is if I call UIAlertView.Show() the process continues. But I need to wait…
Scarlaxx
  • 835
  • 1
  • 6
  • 13
16
votes
5 answers

Xamarin "The executable was signed with invalid entitlements"

I want to test my created iOS app on my iPhone. The build was successful but while xamarin studio tries to transfer the file via usb to my iPhone i got the following error: VerifyingApplication: 70% PercentComplete: 40 Status:…
j0k4b0
  • 357
  • 1
  • 3
  • 14
16
votes
1 answer

How do Image Click Event works on Xamarin Forms - iOS Apps?

I am relatively new to Xamarin Forms : iOS Apps. Just like any other Apps, I have to create an event on an Image. Home , Back , Account setting. Whether these events are fired on Image Button Event ?
goofyui
  • 3,362
  • 20
  • 72
  • 128
16
votes
3 answers

No valid iPhone code signing keys found in keychain error Xamarin even after deleted Entitlements.plist

I'm getting this error iPhone code signing keys found in keychain error Xamarin even after deleted Entitlements.plist when trying to build the HelloWorld_iPhone app using Xamarin Studios. I understand Its require while deploy on real device but I'm…
Manish
  • 615
  • 3
  • 6
  • 18
16
votes
3 answers

UTF-16 safe substring in C# .NET

I want to get a substring of a given length say 150. However, I want to make sure I don't cut off the string in between a unicode character. e.g. see the following code: var str = "Hello world!"; var substr = str.Substring(0, 6); Here substr is an…
Kostub Deshmukh
  • 2,852
  • 2
  • 25
  • 35
16
votes
3 answers

No installed provisioning profiles match the installed iOS code signing keys in Xamarin using Visual Studio

I have created a PCL project, I host Mac with Visual Studio but when run iOS project, it gives error: I tried to change in iOs building signing like below but nothing works for me. Please help me solve this issue.
16
votes
3 answers

Is there a way to prevent Visual Studio from printing Thread started and finished statements into the Output Window?

I have a lot of Thread started: #49 Thread finished: #49 in the console and it's hard to use the console when I want to print something for debug. Is there anyway to remove these statements from the Output Window? My…
Alexandre Pepin
  • 1,816
  • 3
  • 20
  • 36
16
votes
1 answer

mach_vm_map failed (error code=3)

After navigating through my iPAD application for a while I have noticed that the responsiveness of the app is getting slower and slower and finally my app crashes with the following error AppName(1779,0x3d12d18c) malloc: ***…
Loukas
  • 616
  • 1
  • 6
  • 22
16
votes
3 answers

How MonoTouch works?

I would really appreciate it anybody could briefly explain me, what's the general approach to implementing things like MonoTouch? I'm really amazed because it's not the first example I see when people get some platform like Java and make it…
Anton
  • 2,483
  • 2
  • 23
  • 35
16
votes
2 answers

Embedding Mono on iOS

I want to embed mono into my iOS application. I do not want to use MonoTouch. I want to embed mono manually like this: http://www.mono-project.com/Embedding_Mono I've have done this successfully on windows, using the above guide and various online…
sungiant
  • 3,152
  • 5
  • 32
  • 49
16
votes
2 answers

“SyntaxError: Unexpected EOF” when evaluating JavaScript in iOS UIWebView

I keep getting this error in JavaScript when trying to pass some JSON to a UIWebView: SyntaxError: Unexpected EOF There is no line number or filename available in window.onerror but I've already checked all referenced files, and they are fine. I'm…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511