Questions tagged xamarin

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

Archive and archive all are grayed out in Xamarin iOS?

I’m using Xamarin iOS for visual studio 2017 under windows 7, archive and archive all are grayed out, while they are enabled for Android projects, I’m connecting to El Capitan and everything works as expected. Source: Xamarin.ios Questions

By Wessam El Mahdy
Published
Categorised as Uncategorised Tagged , ,

how to create Half Screen Camera View in Xamarin forms

I want to display live camera view in Half of the Screen and the remaining half screen needs to insert some control in Xamarin Forms. for camera purpose, I am using “Plugin.Media;” but plugin opens new camera window. the same page should display on iOS and Android. please suggest me how can I develop/design this […]

By sumeet
Published
Categorised as Uncategorised Tagged , , ,

How to set background image in UIButton of Xamarin.IOS application?

I have tried the code below but text image gets overlapped. btnBack.SetImage(UIImage.FromFile("Images/arrow-back.png"), UIControlState.Normal); btnBack.TintColor = UIColor.White; Source: Xamarin.ios Questions

By Hiren Patel
Published
Categorised as Uncategorised Tagged ,

Is it possible to hook into Hardware keyboard events at an Application level?

I am developing a Xamarin.Forms application for iOS, Android and UWP. I would like to hook into hardware keyboard events at an application level (not an individual page level (because its a Xamarin.Forms application)) so that when a user presses a key on the keyboard I can invoke an action in my application. On Android […]

By user1
Published
Categorised as Uncategorised Tagged , , , ,

Xamarin Forms – Change color of the Map Pin

I’m currently using Maps in Xamarin Forms. It works fine for this example. https://developer.xamarin.com/guides/xamarin-forms/user-interface/map/ Now i need to change just the colour of the Pin, the following example is not really what i’m looking for as its a bit of an overkill for me. https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/map/customized-pin/ Is there an easier way to just change the color? […]

By the tr00per
Published
Categorised as Uncategorised Tagged , , ,

Tracing an "unrecognized selector sent to instance" exception in Xamarin

I’m trying to get this to work, but I must have made a mistake somewhere. This is the Delegate class (snipped down) as per the C headers: @protocol PaymentEngineMiddlewareDelegate <NSObject> @required /*! @brief Delegate method for startTransaction. @param transResponse – Contains all the transaction response info from the gateway */ -(void)transactionComplete :(PaymentEngineTransactionResponse *)transResponse; @optional /*! […]

By Dean Cleaver
Published
Categorised as Uncategorised Tagged , , ,

How to open default browser in Xamarin?

I would like to open a web page in Xamarin for both Android and iOS. The code doesn’t work. Can anyone help me figure out what’s wrong? For Android, clicking the button goes through the code, but nothing happens afterwards. For iOS, clicking the button does open a Safari page, but it cannot open the […]

By MrProgrammer
Published
Categorised as Uncategorised Tagged , , , ,

UIActivityViewController – Unable to exclude "Save to Files" in ExcludedActivityTypes

I am facing a situation where the “Save to Files” functionality in the UIActivityViewController breaks my navigation. That could be handled by solving the fact that I am currently unable to show two modal views on top of another. But an even easier solution would be to simply exclude the functionality as it makes no […]

By Demitrian
Published
Categorised as Uncategorised Tagged , ,

Xamarin.Forms – Label FontSize OnPlatform – XAML error

I have this code: <Label x:Name=”questionGroupHintInfoLabel” FontAttributes=”Bold” Text=”Folgende Hinweismeldung wurde für die aktuelle Fragengruppe hinterlegt:”> <Label.FontSize> <OnPlatform x:TypeArguments=”NamedSize” iOS=”Small” Android=”Small” /> </Label.FontSize> </Label> …and get this error: No property, bindable property, or event found for FontSize What i’m doing wrong? Thanks. Source: Xamarin.ios Questions

By OPunktSchmidt
Published
Categorised as Uncategorised Tagged , , , ,

Xamarin Unit Testing Portable Bait and Switch error with Xamarin.Auth?

I have set up a TestProject in Visual Studio for Mac that references my Xamarin Forms project for testing the non-visual portions of my code. However I am getting the following error when I try to test a piece of my code that leverages Xamarin.Auth to access the keychain. System.NotImplementedException : Portable Bait And Switch […]

By GGizmos
Published
Categorised as Uncategorised Tagged , ,
1 27 28 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