Jump to content

SCAlertView Not Disappearing


X204

6 posts in this topic

Recommended Posts

Posted

When i click on close button nothing happen the popup didn’t disappear 

 

 

%hook AppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { 

SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];

[alert showSuccess:@"Hello World" subTitle:@"This is a more descriptive text." closeButtonTitle:@"Done" duration:0.0f];

return %orig;

}

%end

Posted
17 minutes ago, Ted2 said:

Try to show the popup a little later by building a dispatch timer around it. See if that might fix it.

How?

Posted
32 minutes ago, Ted2 said:

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, sec * NSEC_PER_SEC), dispatch_get_main_queue(), ^

I don’t know how to add it to tweak

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines