它被认为是使用App-prefs的私有API:root? [英] Is it considered a private API to use App-prefs:root?

查看:712
本文介绍了它被认为是使用App-prefs的私有API:root?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我正在使用 [NSURL URLWithString:@App-Prefs:root = Privacy& path = LOCATION] 打开设置屏幕。是否会被苹果拒绝,因为根据某些来源,这被认为是私有API?

In my app I'm using [NSURL URLWithString:@"App-Prefs:root=Privacy&path=LOCATION"] to open settings screen. Will it be rejected by apple as according to some sources this is considered a private API?

推荐答案

是的。打开设置的唯一合法方法是使用 UIApplicationOpenSettingsURLString

Yes. The only legal way to open Settings is to use UIApplicationOpenSettingsURLString.

这篇关于它被认为是使用App-prefs的私有API:root?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆