UIAlertViewクラス
ユーザーに警告を表示します。
継承 | UIView : UIResponder : NSObject |
準拠 | NSCoding (UIView) |
NSObject (NSObject) | |
フレームワーク | /System/Library/Frameworks/UIKit.framework |
使用可能 | iPhone2.0以降 |
定義 | UIAlertView.h |
解説
ユーザーに警告を表示するときに使用します。
メソッドとプロパティ
ボタンの設定
– addButtonWithTitle
numberOfButtons property
– buttonTitleAtIndex
cancelButtonIndex property
firstOtherButtonIndex property
表示
非表示
– dismissWithClickedButtonIndex:animated
プログラム的にアラートを非表示にします。