- Registriert
- 21.11.07
- Beiträge
- 2.046
Huhu
Mag er.
läuft nicht unter dem iPhone Sim. Dabei steht in der Doku:
Code:
UIAlertView *alert = [[[UIAlertView alloc]
initWithTitle:@"test"
message:@"hello"
delegate:self
cancelButtonTitle:@"again"
otherButtonTitles:nil]
autorelease];
[alert addButtonWithTitle:@"Cancel"];
Code:
[CODE]UIAlertView *alert = [[[UIAlertView alloc]
initWithTitle:@"test"
message:@"hello"
delegate:self
cancelButtonTitle:@"again"
otherButtonTitles:[COLOR="red"]@"Cancel"[/COLOR]]
autorelease];
otherButtonTitles,
The title of another button.
Using this argument is equivalent to invoking addButtonWithTitle: with this title to add more buttons.