Softeq/XToolkit.WhiteLabel

[Deprecated] iOS open device settings categories

wcoder opened this issue · 1 comments

Description

  • prefs - not working;
  • App-Prefs:* - opening device settings page.

var prefsUrl = new NSUrl($"prefs{url}");
var nativeUrl = UIApplication.SharedApplication.CanOpenUrl(prefsUrl) ? prefsUrl : new NSUrl($"App-Prefs{url}");

Any Apple URL schemes that are not officially documented should be considered private API.
https://forums.developer.apple.com/message/186656#186656

iOS Settings URL Schemes: https://gist.github.com/deanlyoung/368e274945a6929e0ea77c4eca345560#note

Basic Information

  • Platform Target Frameworks:
    • iOS: 13+

Replace to Essentials.AppInfo.ShowSettingsUI (used UIApplication.OpenSettingsUrlString)