Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.alphaWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- self.alphaWindow.backgroundColor = [UIColor blackColor];
- self.alphaWindow.windowLevel = UIWindowLevelAlert+1;
- self.alphaWindow.hidden = NO;
- self.alphaWindow.userInteractionEnabled = NO;
- self.alphaWindow.rootViewController = [UIViewController new];
- self.alphaWindow.alpha = 1-NIGHT_MODE_BRIGHTNESS;
Add Comment
Please, Sign In to add comment