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

    • 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • 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/
        • Like
      • 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/
        • Informative
        • Like
      • 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
        • Like
      • 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
    • Candy Crush Friends Saga Cheats v4.12.0 +3
      Modded/Hacked App: Candy Crush Friends Saga By King
      Bundle ID: com.midasplayer.apps.candycrush4
      iTunes Store Link: https://itunes.apple.com/us/app/candy-crush-friends-saga/id1225867923?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves (Won't subtract when use)
      - Infinite Lives (Won't subtract when quit lose)
      - Infinite Boosters (Won't subtract when use)


      Hack Download Link: https://iosgods.com/topic/80252-arm64-candy-crush-friends-saga-cheats-v109-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 629 replies
    • Mimo: Learn Coding/Programming v9.13.0 Jailed Mod +1
      Modded/Hacked App: Mimo: Learn to Code By Mimohello GmbH
      Bundle ID: com.getmimo.mimo
      iTunes Store Link: https://itunes.apple.com/us/app/mimo-learn-to-code/id1133960732?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Premium
      - All Chapters Unlocked
       

      Hack Download Link: https://iosgods.com/topic/68649-arm64-mimo-learn-to-code-v312-jailed-mod-2/


      Credits:
      - @Laxus
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,209 replies
    • Demon Hunter Idle Cheats v1.11.0 +3
      Modded/Hacked App: Demon Hunter Idle By MOBIRIX
      Bundle ID: com.mobirix.mbpdh
      iTunes Store Link: https://apps.apple.com/us/app/demon-hunter-idle/id6472879858?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies*

      *NOTE: Do not abuse or buy ViP for just this cheat


      iOS Hack Download Link: https://iosgods.com/topic/183710-demon-hunter-idle-cheats-v102-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 166 replies
    • Seven Hearts Cheats v1.3.352 +6 [ Always Win & More ]
      Modded/Hacked App: Seven Hearts By BROKKSINDRI Co.,LTD.
      Bundle ID: com.brokksindri.sevenhearts.ios.kr
      iTunes Store Link: https://apps.apple.com/us/app/seven-hearts/id1525657053?uo=4


      Hack Features:
      - Infinite Coins
      - Infinite Mana
      - Instant Deploy (Enable before Battle)
      - God Mode (Tower)
      - Always Win (Quit / Surrender the Game)
      - Always 3 Stars


      iOS Hack Download Link: https://iosgods.com/topic/145909-seven-hearts-cheats-v1280-6-always-win-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 341 replies
    • Potion Punch 2 Cheats v2.9.71 +1
      Modded/Hacked App: Potion Punch 2 by Monstronauts Inc.
      Bundle ID: com.monstronauts.potionpunch2
      iTunes Store Link: https://apps.apple.com/us/app/potion-punch-2/id1463550435?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies
      - Free iAP (Turn this on and use with Free iAP Tweak)


      iOS Hack Download Link: https://iosgods.com/topic/112395-arm64-potion-punch-2-cheats-v102-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 96 replies
    • Fun Run 3 - Multiplayer Games Cheats v4.48.0 +1
      Modded/Hacked App: Fun Run 3: Arena Running Game By Dirtybit
      Bundle ID: com.dirtybit.fra
      iTunes Store Link: https://itunes.apple.com/us/app/fun-run-3-arena-running-game/id1118878857?mt=8&uo=4&at=1010lce4


      Hack Features:
      - God Mode
       

      Hack Download Link: https://iosgods.com/topic/75790-arm64-fun-run-3-arena-running-game-cheats-v210-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,284 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