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