开发者

How can you launch a URL from the iOS Settings Bundle?

开发者 https://www.devze.com 2023-03-04 04:50 出处:网络
开发者_JS百科I would like to launch a URL from the iOS Settings Bundle that would at least launch Safari when they Touched the setting.

开发者_JS百科I would like to launch a URL from the iOS Settings Bundle that would at least launch Safari when they Touched the setting.

Not sure if this is possible I couldn't find any examples of this in the Settings area with Apple or 3rd party apps. If it is not I would appreciate confirmation for this.


You can't. Current Settings.bundle is able to only display or change values. Better check Apple docs Settings Application Schema Reference and the few available element types. Sorry.


The Twitter Preferences show up with a link "Learn More about Twitter" to navigate to twitter.com (Safari). I could not figure out how they did it but it seems to be possible.


I was searching for the same UI experience "a button in the settings page" to allow the user to reset some settings, I found this http://inappsettingskit.com/ .

As others said it's not possible to do in apples Settings.app, so the solution in to implement an in-app settings page, this open source project seems to make it easy. I'll update after I implement.

(I have no connection to this project)


I am not sure if that is possible. This previous SO question Display iphone application settings within your application says something about using them within the app. See if it helps. Another SO question that can be of use Programmatically opening the settings app (iPhone)

0

精彩评论

暂无评论...
验证码 换一张
取 消