Questions tagged xamarin.ios

Explore the latest questions and answers asked by our top developers.

Xamarin Forms iOS Deploy with simulator Failed To Install ERROR

I installed xamarin on the mac and followed the instructions here to to allow remote logins (so that I can use a simulator on my windows machine), I was able to connect via mac agent without problems, however when I run i get this error: Was wondering if any of you had these problems? When […]

By fattikus
Published
Categorised as Uncategorised Tagged , ,

iOS UIFont.ByName Exception (Value cannot be null. Parameter name: value)

In a custom Xamarin Forms iOS renderer I am loading fonts from files and when I get to UIFont.FromName it thorws the exception shown below. The font var is a valid CGFont instance and fontsize is a valid nfloat. Any ideas? var font = CGFont.CreateFromProvider(fontDataProvider); Control.Font = UIFont.FromName(font.FullName, (nfloat)e.NewElement.FontSize); stacktrace: System.ArgumentNullException: Value cannot be null. […]

By Roy Jennes
Published
Categorised as Uncategorised Tagged , ,

Set a custom default font for whole Xamarin.iOS app?

I have a custom font that I want to set as the default font for the whole Xamarin.iOS app without specifying the size. How can I achieve this? I already found a similar question here, however this refers to a non-Xamarin iOS app. Source: Xamarin.ios Questions

By Adnan Umer
Published
Categorised as Uncategorised Tagged , , , ,

UICollectionView Xamarin.iOS, Custom cell with button

I have read many tutorial out there for UICollectionView for both iOS and Xamarin.iOS Everybody has shown same sample tutorial with one image inside UICollectionViewCell Desired output UICollectionViewCell with custom design What I have done This is what I have achieved so far.. please ignore the bad design 😛 Problem When I Click on Book […]

By Afzal Ali
Published
Categorised as Uncategorised Tagged , , ,

Xamarin Forms: How do I implement WebSockets?

We want to transfer data from a client to a server in realtime, so we have decided to go with WebSockets. Using Xamarin.Forms it was surprisingly difficult to find a suitable WebSocket library. The best match was “WebSocket4Net” because it is directly suggested on Xamarin’s Homepage. However I was not able to install this library, […]

By Shanakor
Published
Categorised as Uncategorised Tagged , , , ,

Xamarin warning: The app icon set "AppIcons" has 2 unassigned children

I’m getting the following warning when compiling: Warnings: /Users/some-user/Projects/SomeApp/SomeApp/SomeApp.csproj (Build) -> /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CoreCompileImageAssets target) -> Resources/Images.xcassets: actool warning : The app icon set “AppIcons” has 2 unassigned children. 1 Warning(s) I have provided each image for the app icons (except watch/car). There is no “unassigned” value in the Contents.json file. I also tried to unset […]

By testing
Published
Categorised as Uncategorised Tagged , , , ,

Handling Global Exception Xamarin | Droid | iOS

We all know that mobile is compact platform where we have to look lots of things while building an application. It could be anything e.g. Memory Performance Resolutions Architecture Implementation etc. We never know when and what causes app crash a big ISSUE while playing with the app, It could happen anytime e.g. App Launch, […]

By Mohammad Riyaz
Published
Categorised as Uncategorised Tagged , , ,

C#: Unable to cast object of type ‘System.Int64’ to type ‘System.Int32’

I have code as follows: Dictionary<object, object> dict = … Color = (int)dict.GetValue(“color”); When I convert the Color to an int, I get the following exception: System.InvalidCastException: Unable to cast object of type ‘System.Int64’ to type ‘System.Int32’. I am not sure why I can’t just cast from a long to an int. I know for […]

By Kostub Deshmukh
Published
Categorised as Uncategorised Tagged , , ,

why does xamarin suddenly not let me deploy to iOS devices

This just started happening today after I got a message from xcode to agree to new t&c’s. I can’t put anything on the device, on any of my computers. Doesn’t work on my macbook, doesn’t work on my mac mini, doens’t work with existing projects that worked fine until yesterday, doesn’t even work with completely […]

By Infrid
Published
Categorised as Uncategorised Tagged ,

UICollectionView not showing all items

I am develop in Xamarin.iOs using MVVMCross to databind ObservableCollection to a MvxCollectionViewSource and the items are displayed in a UICollectionView. When setting the items to the ObservableCollection not all of them are shown in the UICollectionView. For instance if I set 10 items to the collection view only 7 of them are shown. Any […]

By doorman
Published
Categorised as Uncategorised Tagged , ,
1 55 56 57 58 59

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq