How to open url in Safari from settings.bundle

How to open a URL in Safari from settings?

Something like Nike + App

Do I need to configure it? It seems I can not find the Type to add the URL to Root.plist.

0
source share
2 answers

you can check this on git https://github.com/futuretap/InAppSettingsKit

then put this value in plist

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>DefaultValue</key> <string>inappsettingskit.com</string> <key>File</key> <string>http://www.inappsettingskit.com/</string> <key>Title</key> <string>Open URL</string> <key>Type</key> <string>IASKOpenURLSpecifier</string> </dict> </plist> 
0
source

Similarly, GSiklos answers abouve, but using the plist editor in Xcode, this change will be:

PList Editor Example

Please note that by default, any URL shown in IASK settings is NOT displayed on the standard iOS settings page (useful)

0
source

Source: https://habr.com/ru/post/1482898/


All Articles