Objective-C : アラート表示して自動的に閉じる方法
アラートの表示自体は簡単なのですが、自動的に閉じたい時の方法です。
//アラートの表示
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"SAVE"
message:@"COMPLETE"
delegate:self
cancelButtonTitle:nil
otherButtonTitles:nil ] autorelease];
[alert show];
//アラートを自動的に閉じる
[alert dismissWithClickedButtonIndex:0 animated:NO];
参考サイト