UIAlert View Objective C - Opening app store link
- by benhowdle89
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:@"An Alert!"
delegate:self cancelButtonTitle:@"OK" otherButtonTitles:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=301349397&mt=8"]];];
[alert show];
[alert release];
I'm trying to display a UIAlertView with one "Ok" button and one "Buy Full Version" button. How can i make the above code work?
Thanks