Thursday, 14 January 2021

Dismiss popup on tap outside

Hi can someone help , I’m trying to add function to my popup so it will close popup when tap outside of it I’m not sure how to do could someone help ? if ([vActivateStr isEqualToString:string]) { [NSTimer scheduledTimerWithTimeInterval:0.0 target:self selector:@selector(gameActivateSucess) userInfo:nil repeats:NO]; return %orig; } else { [NSTimer scheduledTimerWithTimeInterval:0.0 target:self selector:@selector(gameActivateFailed) userInfo:nil repeats:NO]; return %orig; } } %new -(void)gameActivateSucess { hackResult = 1; UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"😎Cracked ~ ɛvɪɗɛηт" message: @"Repo" delegate:self cancelButtonTitle:@"ThankYou🥰" otherButtonTitles: nil]; [alert show]; [alert release]; }

from iOSGods RSS Feed https://ift.tt/3qsykEN

No comments:

Post a Comment