UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false); UIApplication.SharedApplication.SetStatusBarHidden(false, false);
I used this in AppDelegate, and it looks better
Try to add an empty constructor like:
I know it sounds stupid, because you have already a constructor, but I had this problem too in Xamarin Android and it worked with an empty constructor.
Yes, it's possible:
First I made a class which implements from MKMapViewDelegate and override GetViewForAnnotation method.
if (annotation is BasicMapAnnotation annotationImage)
var annotation = new MKAnnotationView(…
var locationCoordinate = new CLLocationCoordinate2D(latitude, longitude); var coordinateSpan = new MKCoordinateSpan(100, 100); //this seems to be the maximum zoom out var coordinateRegion = new MKCoordinateRegion(locationCoordinate, coordinateSpan);…
This is a bug from Xamarin, you will find that if you search on google.. I fixed that, disabling the navigation bar on the pages where I don't have an hamburger menu, because on android you have already on the phone the back …
I'm using the toolbar.Title as a condition and I'm verifying if the title is a specific string.
To get the toolbar I used var toolbar = GetToolbar();, and I'm not sure how to get the NavigationStack
I use the same renderer to change the hamburger icon of a MasterDetailPage.
But I don't see how to apply it only the main page: when I navigate to another page, I would like to keep the default "back" icon…
JObject jObject = JObject.Parse(json);
JToken jUser = jObject["your token"];
var objectDeserialized = JsonConvert.DeserializeObject(jUser.ToString());
This example I'm sure it works, maybe it helps you.
"ends up"? You mean there's an unhandled exception and your app is terminated?
If you await calls inside a method that returns false, you are likely to introduce a race condition. If you are expecting the WebView cache(s) to be cl…
https://we.tl/mJmJ8eE6yX here you can find the app, maybe in this way it's easier to see what I'm explaining! Just ignore the android version.
Again, the DependencyService is ignored now by:
if (Device.RuntimePlatform == Device.iOS)
But you w…
When I say jumps in App.xaml.cs, it means that it just ends up. And it's annoying because I can't solve this issue and I can't find something which can be helpful on google..
PS. Is returning void.
Also, I tried to make a render like here: htt…
I followed the example from that link. I'm using the DependencyService, and in UWP I have this part of code:
This is inside my class ClearCacheImplementation wich implement IClearCache with the metho…
Rebooted my device, now visual studio doesn't detect my connected device....
So I had to restart visual studio also.
Lost about 30 mins of productivity. Thanks Xamarin!
Pain is real... PS. that solution doe…
@JamesMontemagno has prepared a really nice solution for this here:
have a look and get this working!
How can I achieve the same thi…
I'm not able on the first page. The ListView page. When I'm trying to bind the name to display the list with all the properties, the only missing thing is the SpeakersName. When I press on the list, I send the Speaker as an argument for click.