0

I found here that to restore brightness on app exit you have to use event applicationWillTerminate

I do it in the following way

- (void)applicationWillTerminate:(UIApplication *)application
{
    [UIScreen mainScreen].brightness = initialBackLightLevel;
} 

and it does not work. Where can be the issue?

Community
  • 1
  • 1
TOP KEK
  • 2,593
  • 5
  • 36
  • 62

1 Answers1

0

Seems to be a iOS bug...check Apple dev forums: https://devforums.apple.com/message/625119

Ladislav
  • 7,223
  • 5
  • 27
  • 31