Jump to content

Varieties of UIAlertView Types to Use in your Tweaks & Patchers!


123 posts in this topic

Recommended Posts

Updated (edited)

Hey guys, in this Tutorial I will be givng out lists of varieties of UIAlertViews to use in your Tweaks & Patchers. As you know these can help credit the author, and stop some types of leeching which is very helpful. Anyway.. Let's get into it.

Well first off before you attatch any UIAlert you need to know the specific App Delegate of the application in which you can find in Flex, Class Dump, IDA, etc. with just a simple search. Search applicationDidBecomeActive and you will find the delegate for the app.

Now for the types of Alerts.

This Alert is simple (Most Common). (Pops-Up Constantly anytime out of app & visit back, which includes control center interruption.):

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀


This Alert Pops-Up every launch of the app. (Recommended) [May not activate on some apps becuase the specific function may not be supported].

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀


This Alert Pops up only once. It will never activate again on your device:

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀


Now we have finished the simple usage of UIAlerts, now want to add a button to your Alert to link to anywhere you like? Here:

To Pop-Up Constant:

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀


To Pop-Up at Every Launch:

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

Updated by Chrizk0
  • Like 149
  • Winner 10
  • Thanks 19
  • Haha 4
  • Agree 11
  • Informative 12
Posted

Cool but the popup that pops up once every time the app is launched, not every app has that method, right? :)

Posted (edited)

Cool but the popup that pops up once every time the app is launched, not every app has that method, right? :)

Yep, but most of them do mainly unity apps don't have it I'm guessing but not all. I thought I included it in the tut. I guess not :p Updated by Chrizk0
Posted (edited)

Cool
 
Edit:
 
Aren't you supposed to add %orig; to this function?

%hook AppDelegate
 
- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
    message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}
 
%end

Also, I think you place the %new outside of the function

%hook AppDelegate

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

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
message:@"Test Message" delegate:self cancelButtonTitle:@"Close Test Pop-Up"                       otherButtonTitles:@"Test Link", nil]; 
[alert show];
[alert release]; 
return %orig();
%new
}

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
       if(buttonIndex !=alertView.cancelButtonIndex) 
{ 
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.test.com"]];                                                                              
        }
}

%end 
Updated by KingRalph
  • Agree 1
Posted

 

Cool

 

Edit:

 

Aren't you supposed to add %orig; to this function?

%hook AppDelegate
 
- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
    message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}
 
%end

Also, I think you place the %new outside of the function

%hook AppDelegate

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

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
message:@"Test Message" delegate:self cancelButtonTitle:@"Close Test Pop-Up"                       otherButtonTitles:@"Test Link", nil]; 
[alert show];
[alert release]; 
return %orig();
%new
}

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
       if(buttonIndex !=alertView.cancelButtonIndex) 
{ 
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.test.com"]];                                                                              
        }
}

%end 

All has been tested and function properly, won't matter if you add those. %new should always be placed inside the function because the function did not end yet.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Football Tycoon 2 v1.0.0 +1 Jailed Cheat [ Unlimited Cash ]
      Modded/Hacked App: Football Tycoon 2 By Scott Baillie
      Bundle ID: com.lazyboydevelopments.idlefootytycoon2
      App Store Link: https://apps.apple.com/us/app/football-tycoon-2/id6744391343?uo=4

       


      🤩 Hack Features

      - Unlimited Cash
      • 0 replies
    • Football Tycoon 2 v1.0.0 +1 Cheat [ Unlimited Cash ]
      Modded/Hacked App: Football Tycoon 2 By Scott Baillie
      Bundle ID: com.lazyboydevelopments.idlefootytycoon2
      App Store Link: https://apps.apple.com/us/app/football-tycoon-2/id6744391343?uo=4

       


      🤩 Hack Features

      - Unlimited Cash
      • 0 replies
    • Disney Pop Town! Match 3 Games v1.4.29 +2 Jailed Cheats [ Unlimited Moves ]
      Modded/Hacked App: Disney Pop Town! Match 3 Games By Wemade Play Co.,Ltd.
      Bundle ID: com.jamcity.joy
      App Store Link: https://apps.apple.com/us/app/disney-pop-town-match-3-games/id1529504654?uo=4

       
       

      🤩 Hack Features

      - Unlimited Moves -> Enable, use a move then disable.
      - Unlimited Skill
      • 0 replies
    • Disney Pop Town! Match 3 Games v1.4.29 +2 Cheats [ Unlimited Moves ]
      Modded/Hacked App: Disney Pop Town! Match 3 Games By Wemade Play Co.,Ltd.
      Bundle ID: com.jamcity.joy
      App Store Link: https://apps.apple.com/us/app/disney-pop-town-match-3-games/id1529504654?uo=4

       


      🤩 Hack Features

      - Unlimited Moves -> Enable, use a move then disable.
      - Unlimited Skill
      • 0 replies
    • Eterspire - Fantasy MMORPG v53.0 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 21 replies
    • Eterspire - Fantasy MMORPG v53.0 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      • 82 replies
    • Royal Kingdom v19315 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4


      Hack Features:

      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 65 replies
    • Royal Kingdom v19315 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4



      Hack Features:
      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Winner
        • Like
      • 47 replies
    • Piggy Kingdom - Match 3 Games v2.1.4 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Piggy Kingdom - Match 3 Games By OLLEYO PTE. LTD.
      Bundle ID: com.olleyo.piggy.match
      iTunes Store Link: https://apps.apple.com/us/app/piggy-kingdom-match-3-games/id1635337354?uo=4


      🚀 Hack Features

      - Coins

      - Lives

      - Build Coins

      - Moves

      - Booster

      - Color Move Only [ Without Matching Move Anywhere ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 12 replies
    • Piggy Kingdom - Match 3 Games v2.1.4 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Piggy Kingdom - Match 3 Games By OLLEYO PTE. LTD.
      Bundle ID: com.olleyo.piggy.match
      iTunes Store Link: https://apps.apple.com/us/app/piggy-kingdom-match-3-games/id1635337354?uo=4


      🚀 Hack Features

      - Coins

      - Lives

      - Build Coins

      - Moves

      - Booster

      - Color Move Only [ Without Matching Move Anywhere ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 15 replies
    • Puzzle Town Mysteries v3.01 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Puzzle Town Mysteries By Haiku Games Co
      Bundle ID: com.haiku.puzzle.minigame.set.block.slide.games.mysteries
      App Store Link: https://apps.apple.com/us/app/puzzle-town-mysteries/id6738405781?uo=4


      🤩 Hack Features

      - Coins

      - Stars

      - Booster

      - Diamond Keys Freeze

      - Energy

      - All Puzzle Unlocked

      - Golden Pass
      • 0 replies
    • Puzzle Town Mysteries v3.01 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Puzzle Town Mysteries By Haiku Games Co
      Bundle ID: com.haiku.puzzle.minigame.set.block.slide.games.mysteries
      App Store Link: https://apps.apple.com/ph/app/puzzle-town-mysteries/id6738405781?uo=4

       
      🤩 Hack Features

      - Coins

      - Stars

      - Booster

      - Diamond Keys Freeze

      - Energy

      - All Puzzle Unlocked

      - Golden Pass
      • 0 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