如何使用 OS 4.0 访问 iPhone 的常规辅助功能设置
我想访问 iPhone 的常规设置。我知道 os 3.0 及以上版本是不可能的。
但希望苹果在 4.0 或更高版本中提供任何 API 来访问常规设置,例如我想知道设备是否处于振动模式或响铃模式,以及
如果我想知道我的 iPhone 是否具有高亮度和如果我想设置较低的
访问此类设置,苹果是否提供ani API。
如果是,请向我提供链接。
提前致谢
I want to access the general settings of iPhone. I know that it was not possible with os 3.0 and there on .
But hope fully if apple has provided any API with os 4.0 or above to access the general settings like if I want to know whether device is in vibrate mode or Ringing mode as well as
If I want to know whether my iPhone is having high brightness and If I want to set lower
To access such kind of settings does apple provide ani API.
If yes then please provide me the link.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,最新版本的 iOS 无法实现这一点。有一个私有API可以让你做到这一点,但我听说手电筒应用程序因使用私有API而被拒绝。
我不知道您正在创建什么类型的应用程序,但您可以修改内容的颜色以使其外观不那么明亮吗?只是一个建议!
Unfortunately, this isn't possible with the latest version of iOS. There is a private API which allows you to do it, but I heard that a flashlight app was rejected because of the use of a private API.
I don't know what type of app you are creating, but you could modify the colours of your content to make the appearance of it less bright? Just a suggestion!