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];
J'essaie d'afficher un UIAlertView avec un bouton "Ok" et un bouton "Acheter la version complète". Comment puis-je faire fonctionner le code ci-dessus?UIAlert View Objectif C - Ouverture du lien App Store
Merci
Les méthodes prennent des titres de bouton, pas de code arbitraire. – Eiko