开发者

How to change the brightness on iPhone (using private APIs)

I want to make an app similar to SBSettings (a quick settings application on Cydia) becaus开发者_开发百科e developers can't jailbreak their devices. Can someone tell me how to change the screen brightness? It doesnt need to be approved by Apple, so it can use private APIs if needed. Any help would be appreciated.


You can use [[UIScreen mainScreen] setBrightness:0.1] in iOS 5.0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜