5,324 questions with Xamarin tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Shell Bottom Tab Bar Hide if set to True SetTabBarIsVisible

Hi I am facing issue on iOS devices if SetTabBarIsVisible="True" set on Xaml file then below tabbar is not visiable but same also work on Android devices. can anyone help on this. in previous page tabbar shell is hide when click on button then…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-12-01T08:50:00.687+00:00
Anonymous
accepted 2020-12-01T12:58:43.623+00:00
Anonymous
4 answers

Xamarin Forms CollectionView not showing on iPhone but on Android and Android simulator

Hello guys, I have a problem and a question regarding Xamarin.Forms and CollectionView. I implemented a CollectionView as a Main Menu and on Android it is working fine. But on my iPhone it is not showing the CollectionView. The ScrollView is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-24T15:49:24.353+00:00
Az0th 1 Reputation point
commented 2020-12-01T09:05:36.963+00:00
Az0th 1 Reputation point
1 answer

Why does using Voice Control when a Xamarin.Forms Picker is open result in the app terminating?

With a Xamarin.Forms Picker open on iOS (so the wheels are usable) when using the Voice Control accessibility option, the app is prone to crashing. A wide variety of spoken words or phrases will result in the app crashing, "Next", "Thank…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-26T18:59:58.46+00:00
John Hardman 261 Reputation points
commented 2020-12-01T08:55:25.537+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
0 answers

Xamarin on VS for Mac - iOS Build Fails with Error "resource-rules has been deprecated in Mac OS X >= 10.10!"

Hi! I'm trying to build my Xamarin iOS app on Mac and failing on an error related to a deprecated command line parameter. I tried targeting iphone 10, 11 and above but still failing on same error. I Updated NuGets to latest versions, also…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-23T05:36:00.273+00:00
Yuval Tirosh 1 Reputation point
commented 2020-12-01T06:21:54.737+00:00
Nicole Lu-MSFT 96 Reputation points
1 answer

About continuous shooting method of camera application

With the code below, I started the camera app and took a picture, but once I took a picture, the app closed. What should I do when taking multiple shots? private async void OnImageClicked() { try { await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-30T23:03:09.217+00:00
TS44 81 Reputation points
answered 2020-12-01T05:15:27.637+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
0 answers

I want get signle text value from WEB API in xamarin

i was tried like below in xamaring forms, pls. help public class ItemListClass { public string Item_Name { get; set; } public string Price { get; set; } public string Total { get; set; } } public async void saleItems_bind() { HttpClient…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-27T07:05:16.03+00:00
wenkket 1 Reputation point
commented 2020-11-30T23:15:38.467+00:00
Joe Manke 1,091 Reputation points
1 answer

How to send a Xamarin iOS app to clients so that they can deploy it on their apple account

The client is asking us an unsigned xcarchive but it looks like it can't be produced with Xamarin. What's the suggested way to deploy a Xamarin iOS app to a client so that he can deploy it with his Apple account? The client is asking us to remove our…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-27T15:27:42.33+00:00
Anonymous
commented 2020-11-30T17:09:11.937+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

How to resolve cannot convert from 'Foundation.NSObject[]' to 'Foundation.NSObject?' in iOS dependency service?

The following code is work-in-progress. Once working, the intention is that it can be used on iOS to set the accessibility order of controls on a Xamarin.Forms ContentPage using a dependency service. I am currently hitting two problems with this. The…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-30T13:07:34.647+00:00
John Hardman 261 Reputation points
accepted 2020-11-30T15:56:17.11+00:00
John Hardman 261 Reputation points
1 answer One of the answers was accepted by the question author.

Ad-hoc configuration not available in VS2019 iOS IPA or Bundle properties

I am following the tutorial at https://learn.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/ad-hoc-distribution?tabs=windows In the intro, it says that Xamarin.iOS applications can be user-tested via ad hoc distribution, which is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-28T22:27:54.937+00:00
Rich Temen 41 Reputation points
accepted 2020-11-30T13:20:17.54+00:00
Rich Temen 41 Reputation points
1 answer

Xamarin.Forms: UWP UI Binding errors that aren't real errors?

In my Xamarin.Forms app every ListView in UWP is rather slow in creating the cells, or entries, or rows, or whatever they're called. On Android and iOS the ListView scrolls as fast as you can make it go, but on UWP after a short fast scroll the list…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,606 questions
asked 2020-11-26T10:34:50.107+00:00
it-neX 1 Reputation point
answered 2020-11-30T12:13:54.723+00:00
Simon Dallmair 1 Reputation point
0 answers

Text to speech in spanish male in xamarin forms

Hello I need my xamarin forms application for android and ios to speak with a male voice in Spanish without using third party subscriptions since the customer does not want to pay for them, but is willing to pay if it is a tts (text to speech) for a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-26T23:12:38.767+00:00
Adolfo Paniagua 1 Reputation point
commented 2020-11-30T09:32:36.103+00:00
JarvanZhang 23,951 Reputation points
0 answers

Xamarin.iOS Crashes on iPad 14.2 - not iPhone 14.2 - with "SensorKit" Can't Be Found

This was working until I updated my iPad to 14.2. Now I get an error in my Xamarin.iOS app saying SensorKit can't be found. The Visual Studio debugger can't even connect to the app - it just sits there thinking it's waiting to connect. Any ideas? Is this…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-29T14:51:54.12+00:00
Auri A. Rahimzadeh 1 Reputation point
commented 2020-11-30T08:50:56.687+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer One of the answers was accepted by the question author.

Menu expander like WhatsApp

I am creating an application that has a chat option, I want an option like WhatsApp that shows an expanded menu, I am thinking of doing it with the expander but I do not get the desired result, you also have to take into account that I use for the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-28T12:22:12.803+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
accepted 2020-11-30T08:06:16.603+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
0 answers

App Crashes On Launch After Not Being Opened For A Day

My Xamarin project runs a simple token identification check on launch, which is where I believe it is being held up. The odd part is that it only crashes after not being opened for an extended period of time, like after 24 hours. No error is shown and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-20T07:59:17.833+00:00
Ecco 1 Reputation point
commented 2020-11-30T07:46:02.797+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer

Using VisualStateManager with ItemTemplateSelector

For my CollectionViews I often use ItemTemplateSelectors with ItemTemplates that are in different and separate XAML-Files as the actual Page with the CollectionView. But then I can not use the VisualStateManager because the "Selected"-State is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-27T15:07:24.213+00:00
Hendrik Wittke 6 Reputation points
answered 2020-11-30T02:01:55.633+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
0 answers

RadioButton does not work in Xamarin Forms

Here is my code snippet in a Xamarin xaml form: <StackLayout Grid.Row="5" Orientation="Horizontal"> <Label Text="Gender" FontSize="Small" /> <RadioButton…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-29T22:20:49.723+00:00
Sree Sundaram 1 Reputation point
commented 2020-11-29T23:00:52.597+00:00
Borisoprit 371 Reputation points
1 answer One of the answers was accepted by the question author.

Text Color in an Android Custom Renderer

I am working on a CustomRenderer, which involves changing the text color of a TextView. In XAML, I could do this: android:textColor="@Anonymous /Black" However, in my CustomRenderer (which uses View/ViewRenderer as base classes), I get…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-28T21:48:48.733+00:00
Nathan Sokalski 4,126 Reputation points
accepted 2020-11-29T17:02:08.18+00:00
Nathan Sokalski 4,126 Reputation points
1 answer One of the answers was accepted by the question author.

netstandard library with mac, uwp and wpf project in the same solution/build.

I'm making a multiplatform netstandard library which has Mac, Android, WPF and UWP projects. I've tried adding the WPF and UWP projects to Visual Studio Mac, but i receive the warning "this project type is not supported by visual studio mac". I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-25T13:14:13.063+00:00
noobsoftware 251 Reputation points
accepted 2020-11-27T16:28:58.857+00:00
noobsoftware 251 Reputation points
0 answers

Any advice on implementing accessibility for Xamarin.Forms ListView?

When using VoiceOver on iOS to interact with Xamarin.Forms (4.8) ListViews, the user experience is pretty poor. For example, when ViewCells contain Labels that have the iOS UIAccessibilityTrait.Header trait specified, using the Rotor and swipe up/down to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-27T14:18:44.443+00:00
John Hardman 261 Reputation points
1 answer

AOT or Obfuscate XF android app?

Hello, I'm going through the throws of obfuscating my XF app. The actual Android project does not really need obfuscating but the Shared project does. If I set "AotAssemblies>true</AotAssemblies" in the android .csproj, does this…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
asked 2020-11-26T13:11:24.463+00:00
LMiles 6 Reputation points
answered 2020-11-27T09:19:03.673+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor