Skip to content
Guest Big Announcement

UIAlertView not showing in-app

Featured Replies

Solved by Rook

  • Solution

I just realized from the super-sized screenshot that he misspelled "AppDelegate".

 

Remove your current UIAlertView code and add this:

%hook AutoRapAppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Smule AutoRap Cheats" 
					          message:@"Hacked by Chrizk0 for iOSGods.com!" 
                                                 delegate:self 
  					cancelButtonTitle:@"Close" 
  					otherButtonTitles:@"Visit Us", nil]; 
[credits show];
[credits release]; 
%orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit Us"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.iOSGods.com/"]];                                                                                
	}
}
%end

Updated by DiDA
Edited because of the post below

  • Replies 34
  • Views 6.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • It's because your SDK 8.1 doesn't have all the UI stuff   22MB do not contain all the headers, they are just the headers which actually have to be replaced within 7.1 and below

  • search for applicationdidbecomeactive in Flex 2.............

  • AnotherLurker
    AnotherLurker

    actually the reason for the comparatively "small" sdks for iOS 8 < is because apple has stripped the binaries of any info, making them useless, you should still have all the errors, but i suggest y

  • Author

I used this and still nothing

 

<UIKit/UIKit.h>

%hook AutoRapStyle
-(BOOL)free {
return true;
}

-(BOOL)isFree {
return true;
}

%end

%hook AutoRapDelegate
-(void)applicationDidBecomeActive:(id)arg {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"AutoRap Hack" message:@"Hack made by Chrizk0, Enjoy!" delegate:nil cancelButtonTitle:@"Thanks!"otherButtonTitles:nil];
[alert show];
[alert release];
%orig();
}
%end
I smell something wrong but just can't figure it out

Updated by Chrizk0

I used this and still nothing

 

<UIKit/UIKit.h>

%hook AutoRapStyle
-(BOOL)free {
return true;
}

-(BOOL)isFree {
return true;
}

%end

%hook AutoRapDelegate
-(void)applicationDidBecomeActive:(id)arg {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"AutoRap Hack" message:@"Hack made by Chrizk0, Enjoy!" delegate:nil cancelButtonTitle:@"Thanks!"otherButtonTitles:nil];
[alert show];
[alert release];
%orig();
}
%end
I smell something wrong but just can't figure it out

 

Isn't it AutoRapAppDelegate?

 

Go back one page and try the code I sent. :)

I used this and still nothing

 

<UIKit/UIKit.h>

%hook AutoRapStyle
-(BOOL)free {
return true;
}

-(BOOL)isFree {
return true;
}

%end

%hook AutoRapDelegate
-(void)applicationDidBecomeActive:(id)arg {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"AutoRap Hack" message:@"Hack made by Chrizk0, Enjoy!" delegate:nil cancelButtonTitle:@"Thanks!"otherButtonTitles:nil];
[alert show];
[alert release];
%orig();
}
%end
I smell something wrong but just can't figure it out

 

search for applicationdidbecomeactive in Flex 2.............

Create an account or sign in to comment

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.