This:
%hook AppDelegate
-(void)applicationDidBecomeActive:(id)arg {
UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Smule AutoRap Cheats"
message:@"Hacked by L33T 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
I'm on phone so give it a try and let me know.