如何在设置中在Safari中打开URL?如何从settings.bundle在Safari中打开URL
喜欢的东西在Nike+ App
是否需要进行定制?我似乎无法找到在Root.plist中添加URL的类型。
如何在设置中在Safari中打开URL?如何从settings.bundle在Safari中打开URL
喜欢的东西在Nike+ App
是否需要进行定制?我似乎无法找到在Root.plist中添加URL的类型。
你可以看看这个在git的https://github.com/futuretap/InAppSettingsKit
然后把这个值入的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>
请注意,这只能从应用程序中显示的设置页面打开URL。 – mattsson
请参阅此链接 - http://stackoverflow.com/questions/5959274/how-can-you-launch-a-url-from-the-ios-settings-bundle – RAJA
参考这个网址..希望这可以帮助你http://digdog.tumblr.com/post/490664298/ddopenurlspecifier – RAJA