How to access iPhone general accessibility settings with OS 4.0
Asked Answered
A

1

0

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

Acree answered 8/4, 2011 at 7:14 Comment(0)
T
3

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!

Tm answered 8/4, 2011 at 7:22 Comment(2)
Hey Chris Grant , Thanks for immediate reply. Can you give me the name of Private API that was used by flashlight app ?Acree
Take a look at this question - #4740761 Apparently he is using this API: [(id)[UIApplication sharedApplication] setBacklightLevel:1.0f]; Bear in mind that you won't be able to submit to the app store if you do use this though.Tm

© 2022 - 2024 — McMap. All rights reserved.