标签:
UIAlertView *sussess = [[UIAlertView alloc]initWithTitle:nil message:@"发布成功" delegate:nil cancelButtonTitle:@"确定" otherButtonTitles: nil];
[sussess show];
弹出单击确定 操作:delegate:self 遵守协议<UIAlertViewDelegate>
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
在这个方法中写入要执行的操作
}
标签:
原文地址:http://www.cnblogs.com/qq907374866/p/4235236.html