iOS 5 화면 밝기 조절 API

iDev 2011. 12. 25. 12:57
반응형

@property(nonatomic) CGFloat brightness __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);        // 0 .. 1.0, where 1.0 is maximum brightness. Only supported by main screen.

    [[UIScreen mainScreen]setBrightness:0.1];

 
 

반응형
Posted by KraZYeom

댓글을 달아 주세요