开发者

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

开发者 https://www.devze.com 2023-04-07 22:42 出处:网络
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 brigh

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

精彩评论

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