简体   繁体   English

可以通过编程方式重置位置和隐私设置吗?

[英]Can the Location and Privacy settings be reset programmatically?

In the iOS Settings app, choosing General > Reset > Reset Location & Privacy resets the device's location and privacy settings. 在iOS设置应用中,选择“常规”>“重置”>“重置位置和隐私”以重置设备的位置和隐私设置。 Can this be done programmatically in Objective-C? 可以在Objective-C中以编程方式完成此操作吗?

Thanks. 谢谢。

No, this can't be done through code (at least not through App Store approved public APIs anyway). 不,这不能通过代码来完成(至少不能通过App Store批准的公共API来完成)。 Only the user can do this through the Settings app. 只有用户可以通过“设置”应用程序执行此操作。

您可以不断从设备中删除该应用程序,然后再次运行它以继续检查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM