ユーザーから確認を受信せずに AlertView が一定時間画面に表示されている場合に、AlertView がタイムアウトする可能性があるかどうかを知りたいです。AlertView オブジェクトを NSTimer オブジェクトにリンクする方法はありますか?
私の基本的な AlertView コードは次のとおりです。
- (IBAction)showMessage:(id)sender {
UIAlertView *message = [[UIAlertView alloc] initWithTitle:@"Hello World!"
message:@"This is your first UIAlertview message."
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[message show];
}