Questions tagged c#

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

How to send iOS – APN Notification With P12 Certificate – C# Samples

I am new to IOS APN – Notification generating service , Please help on How we can send APN from C# Windows Service – .Net Framework 4.5 / 4.7? Tired with Moon-APN , Pushsharp , DotAPN but no result. If any one have sample code with step by step process please share . Thanks in […]

C# Xamarin.Forms ios Navigation.PushAsync not working properly

I have xamrin.forms project with both Android and iOS. I have just simple 2 pages where i call one from the other. On android everything is working perfectly as it should but on iOS any call for forms (navigation.PushAsync, DisplayAlert, …) is not working properly (does nothing) until I put application to the sleep (put […]

By jsoch
Published
Categorized as Uncategorised Tagged , , ,

Localization in Xamarin IOS

I’ve recently started experiementing on this platform and trying to figure out how to make App that supports multiple languages. When coming across the documentation of localization (https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/localization/), I find it hard to understand the actual steps of implementation: I declared the CFBundleDevelopmentRegion and CFBundleLocalizations, then I wrote the strings of keys and values in […]

By user16384840
Published
Categorized as Uncategorised Tagged , , , ,

Cmake – cross compiling C++ project for iOS

There is no quite a good tutorial for Cmake integration for iOS projects. There are very few found on internet, but lags information. I have a C++ project and I want to cross compile it for my iOS project. I am really not an expert in C++ and Cmake topics. Though, I followed a blog […]

By iOS
Published
Categorized as c++, cmake, cross-compiling, ios, xcode Tagged , , , ,

xamarin – image is not displaying in release

I am using xamarin.forms and visual studio following code works fine in debug or release mode. image shows up just fine. companyLogo_white.svg is inside my shared project and build-action is embedded resource issue: I than launched this app on playstore. Issue is that this image doesn’t get displayed. i have no idea as to what […]

By stacker
Published
Categorized as Uncategorised Tagged , , , ,

i want to make a notification when my position is near to a pin xamarin

i want to make a notification when my position is near to a pin xamarin. and i have tried . foreach (Pins a in listpin) { double d = Location.CalculateDistance(a.Positionlat, a.Positionlon, MyLocation().Result, DistanceUnits.Kilometers); DisplayAlert("Alert", $"{d}", "OK"); if (d < 1) { SendNotification(); } } when i run the app the screen stays white and the […]

By Miled Bilel
Published
Categorized as Uncategorised Tagged , , , ,

How to properly implement Local Notifications to run daily in Xamarin.iOS

I tried implemented it UNCalendarNotificationTrigger and then tried to schedule next day’s notification in WillPresentNotification. It worked until the application was in foreground but as soon as it went background it stopped scheduling for next day. I tried using UNTimeIntervalNotificationTrigger but the problem is that it will display same notification daily however my requirement is […]

By Mujtaba Ali
Published
Categorized as Uncategorised Tagged , , ,

How can I pass data to a ShellSection’s ShellContent to reuse the same page for different purposes on a Xamarin.Forms Shell application?

I’m building a Xamarin.Forms Shell application which provides a flyout and no bottom tabs. Some of the flyout items are also shown as top tabs. To be clearer, the situation is this: The first mockup shows the flyout opened. As you can see, Item1 has its page, while Item2, Item3, and Item4 are grouped both […]

By Pine Code
Published
Categorized as Uncategorised Tagged , , , ,

iPhone text/iMessage history

Can someone give us a pointer or two on how to access text messages and iMessages on an iPhone? We are using Visual Studio 2019, C#, and any .net framework. Our Google searches are clearly not using the right nomenclature. We have a phone. We have the access code. We want to download the messages, […]

By Greg
Published
Categorized as Uncategorised Tagged , , , ,

I want to get my current position every frame with xamarin.forms.maps

I have my position once when i call the function but i want to get my position every frame in the app.I mean when i move with the phone, the position change. I have tried to do while(true) but it didn’t work. Source: Xamarin.ios Questions

By Miled Bilel
Published
Categorized as Uncategorised Tagged , , , ,
1 13

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