Questions tagged xamarin

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

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 , , ,

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 ,

Can you detect when a UIViewController has been dismissed or popped?

I have some cleanup that needs to be performed in a shared resource any time one of my view controllers is dismissed/popped/unloaded? This could either be when the user hits the back button on that individual screen or if a call to popToRootViewController is made (in which case, I would ideally be able to clear […]

By cain
Published
Categorised as Uncategorised Tagged , ,

iOS Application Doesn’t Fill iPhone Screen

I am writing an iPhone app using Xamarin. My UIViewController does not fill the entire screen, there is a gap above and below. Here is a screen shot from the simulator. I have changed the colour scheme to make the gaps more obvious The screen design was done in Xcode below is a screen shot […]

By JDibble
Published
Categorised as Uncategorised Tagged , , , ,

How can I create right-aligned items in the ui with Xamarin.Forms?

I try create this page with StackLayout and Grid, but I can’t align rightы controls to right side. Maybe I should use RelativeLayout? But I don’t know how align controls to right side this is my page: http://s9.postimg.org/z5ilck6hb/template.png UPD. I solved this problem by putting StackLayout with HorizontalOptions = LayoutOptions.EndAndExpand to each grid cell (in […]

By Brian
Published
Categorised as Uncategorised Tagged , , , ,

Android Toast equivalent in iOS

Does anyone know what the Java Toast equivalent of this iOS Objective C event would be in a Fragment? Below is a sample of what I have written in iOS. What I am looking for the same Alert in Java using a Toast in place of the iOS UIAlert. I am sorry if I did […]

By Bil Kimes
Published
Categorised as Uncategorised Tagged , , , ,
1 29 30 31 32

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