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]; }