背景亮度

-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{

return(interfaceOrientation !=UIInterfaceOrientationPortraitUpsideDown);

}

- (IBAction)UISLIDER:(id)sender {

[[UIScreenmainScreen]setBrightness:_mySlider.value];

}

你可能感兴趣的:(背景亮度)