Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ボタンを押したときに IBAction に UIAlert を挿入したいのですが、どうすればよいですか? この UIAlert には、「完了」というメッセージと、それを閉じるためのボタンが表示される必要があります。
- (IBAction)onShowAlertView { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"done" message:@"" delegate:nil cancelButtonTitle:@"close" otherButtonTitles:nil]; [alertView show]; [alertView release]; }