How to open preferences/settings with iOS 5.1?

前端 未结 4 1525
日久生厌
日久生厌 2020-11-27 15:32

Looks like iOS 5.1 has broken the standard URL encoding for navigating a user to a Preference.

For example:

[[UIApplication sharedApplication] openUR         


        
4条回答
  •  無奈伤痛
    2020-11-27 16:07

    If you look in Twitter's framework (that Twitter view controller), it has "prefs:root=TWITTER" inside, 5.1 also has this line. So probably Apple made something to disable it for other apps, like some special key in plist or method "openURL" somehow checks if it's not a system app.

提交回复
热议问题