Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

DependencyService Open iOS11 Settings

$
0
0

Hi,

I am try to open the device settings (in iOS11) so that the user can change to required settings.
Implemented the Interface in the SharedCode so that I can make the call from there.
The Android part works fine: Android.Content.Intent vpnSettingIntent = new Intent(Settings.ActionSettings);
For the iOS part I have no idea how to access the (in swift UIApplication.shared.open) method in xamarin.
VS does not know UIApplication in this context, nor can I use Xamarin.iOS. VS ask: "reference missing?"

but there's no reference missing, if I'm not mistaken.

In addition, after a long research I am not sure which mehodes are now deprecated and which are not or not supported by xamarin.

I hope you have an idea :s
Thank you in advance


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>