Skip to content
Guest Big Announcement

SCAlertView Not Disappearing

Featured Replies

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

  • Author
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?

  • Author
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.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.