问题
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
回答1:
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!
来源:https://stackoverflow.com/questions/5591720/how-to-access-iphone-general-accessibility-settings-with-os-4-0