iOS中彈出警示框
//? ? 警示框提示請輸入
UIAlertView *alertView = [[UIAlertView alloc]initWithTitle:@"友情提示" message:@"用戶名不能為空" delegate:nil cancelButtonTitle:@"確定" otherButtonTitles:@"取消", nil];
//? ? ? ? 顯示警示框
[alertView show];
//? ? 警示框提示請輸入
UIActionSheet *actionSheet = [[UIActionSheet alloc]initWithTitle:@"友情提示" delegate:nil cancelButtonTitle:@"確定" destructiveButtonTitle:@"取消" otherButtonTitles:@"請確認(rèn)信息", nil];
actionSheet.actionSheetStyle = UIActionSheetStyleBlackOpaque;
[actionSheet? showInView:loginView];