Hallo, ich habe mir einen alert gebastelt:
-(IBAction)alertShow:(id)sender
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle: @"Hint"
message: @"Just push your Homebutton and the Powerbutton at the same time and then you can choose the picture as background"
delegate: self
cancelButtonTitle:@"Ok"
otherButtonTitles:nil];
[alert show];
[alert release];
}
Nun meine Frage: wie kann ich es machen, dass er nur einmal angezeigt wird, also wenn man das erstemal auf den Button klickt?
-(IBAction)alertShow:(id)sender
{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle: @"Hint"
message: @"Just push your Homebutton and the Powerbutton at the same time and then you can choose the picture as background"
delegate: self
cancelButtonTitle:@"Ok"
otherButtonTitles:nil];
[alert show];
[alert release];
}
Nun meine Frage: wie kann ich es machen, dass er nur einmal angezeigt wird, also wenn man das erstemal auf den Button klickt?