Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %hook SBPowerDownController
- -(void)orderFront{
- UIViewController * vc = [[UIViewController alloc] init];
- UIView *dimRec = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- [dimRec setBackgroundColor:[UIColor blackColor]];
- [vc.view addSubview:dimRec];
- [self presentViewController:vc animated:YES completion:nil];
- }
- %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement