Skip to content

Commit

Permalink
Correct way of respringing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb93 committed Sep 7, 2015
1 parent ce3ce58 commit fa6ba47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CyDelete.xm
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static id ownerForSBApplication(SBApplication *application) {

-(void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
if (alertView.tag == 100) {
outputForShellCommand(@"killall -9 SpringBoard");
[(SpringBoard *)[UIApplication sharedApplication] _relaunchSpringBoardNow];
}
}

Expand Down

0 comments on commit fa6ba47

Please sign in to comment.