Jump to content

Uialertview message (Popup message)


Go to solution Solved by castix,

15 posts in this topic

Recommended Posts

Posted

if u want a vist button u would have to make a patcher and add new code to some files

but the button for "More Hacks For This Game" when i clicked it opened up a wed page

 

the same way but you have to declare the webpage button in your PreferenceBundle.mm then.

 

Here is the raw URL button

/* Inside your Tweak.xm */
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"HeaderAgain" message:@"Webpage" 
delegate:self cancelButtonTitle:@"L33TPr0xY sucks" otherButtonTitles: nil];
[alert show];
[alert release];
}

/*Inside your PreferenceBundle.mm */
(void)alertView: (UIAlertView *)alertView clickedButtonAtIndex: (NSInteger)buttonIndex
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.Somewebsite.com"]];
}

ok ill try that lol

Posted

but the button for "More Hacks For This Game" when i clicked it opened up a wed page

ok ill try that lol

it didnt work imma just forget it 

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
×
  • 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