Jump to content

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


Chrizk0

121 posts in this topic

Recommended Posts

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 144
  • Winner 10
  • Thanks 19
  • Haha 4
  • Agree 10
  • Informative 12
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

 

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Bullet Force [ Auto updating il2cpp Showoff ] [ +2 Cheat ]
      Modded/Hacked App: Bullet Force By Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.iosfps
      iTunes Store Link: https://apps.apple.com/us/app/bullet-force/id1009134067?uo=4

      What's this?: 
      This is a showoff of my il2cpp auto updater, no matter if the offset changes, it will continue to update itself without any maintenance by me. Only if the location of the method is changed (that happens rarely) it will need a maintenance. This is a really powerfull tool, for now it's only a beta version, when i finish it with all other features i'll release for the public. 


      Hack Features: 
      - Rapid Fire + Unlimited Ammo [ All features already activated]
        • Agree
        • Thanks
      • 5 replies
    • Modern Community v1.5004.114281 +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Jailbreak required hack(s): [Mod Menu Hack] Modern Community v1.1008.81088 +1++ Cheat [ Unlimited Everything ] - ViP Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 40 replies
    • Modern Community v1.5004.114281 +1++ Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Modern Community v1.1008.81088 +1++ Jailed Cheat [ Unlimited Everything ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Haha
        • Winner
        • Like
      • 44 replies
    • Survival Raiders v1.0.4 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Survival Raiders By Super Flex Incorporated
      Bundle ID: com.neowiz.game.psr
      iTunes Store Link: https://apps.apple.com/us/app/survival-raiders/id6502325512?uo=4


      Hack Features:
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
      - Premium Pass Purchased


      Jailbreak required hack(s): [Mod Menu Hack] Survival Raiders v1.0.3 +4 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 9 replies
    • Survival Raiders v1.0.4 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Survival Raiders By Super Flex Incorporated
      Bundle ID: com.neowiz.game.psr
      iTunes Store Link: https://apps.apple.com/us/app/survival-raiders/id6502325512?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Currencies -> Will increase instead of decrease.
      - Premium Pass Purchased


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Survival Raiders v1.0.3 +3 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 10 replies
    • Little Piggy Defense v1.05.73 +1 Jailed Cheat [ God Mode ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - God Mode


      Jailbreak required hack(s): [Mod Menu Hack] Little Piggy Defense v1.00.11 +3 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 49 replies
    • Little Piggy Defense v1.05.73 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Tower Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Little Piggy Defense v1.00.11 +1 Jailed Cheat [ God Mode ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 79 replies
    • Royal Kingdom v9152 +4 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Thanks
      • 41 replies
    • Royal Kingdom v9152 +4 Cheats [ Unlimited Coins ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Unlimited Coins -> Will not decrease.
      - Unlimited Lives -> Will not decrease.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 21 replies
    • Slime Legion v2.3.1 +2 Jailed Cheats [ God Mode ]
      Modded/Hacked App: Slime Legion By Perfeggs
      Bundle ID: com.hero.may.cry.adventure.game
      iTunes Store Link: https://apps.apple.com/us/app/slime-legion/id1664686966
       

      Hack Features:
      - God Mode
      - Unlimited Moves


      Jailbreak required hack(s): https://iosgods.com/topic/173174-slime-legion-v162-3-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 121 replies
    • Grand Tour : Classic RPG v1.0.4 +4 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Grand Tour : Classic RPG By PLUMERIA Inc.
      Bundle ID: com.plumeriagames.msr
      iTunes Store Link: https://apps.apple.com/us/app/grand-tour-classic-rpg/id6499002136?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grand Tour : Classic RPG v1.0.0 +4 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 13 replies
    • Grand Tour : Classic RPG v1.0.4 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand Tour : Classic RPG By PLUMERIA Inc.
      Bundle ID: com.plumeriagames.msr
      iTunes Store Link: https://apps.apple.com/us/app/grand-tour-classic-rpg/id6499002136?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Grand Tour : Classic RPG v1.0.0 +4 Jailed Cheats [ God / O-HK ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 24 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