有关于UIAlertView,警告框控件
示例:
1 UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"用户未登录" 2 message:@"请登录后查看消费统计信息" 3 delegate:self 4 cancelButtonTitle:@"确定" 5 otherButtonTitles:nil];
参数含义:initWithTitle:初始化标题
message:显示通知的内容
delegate:委托对象
cancelButtonTitle:取消按钮标题
otherButtonTitles:其他按钮标题
来源:https://www.cnblogs.com/chupeng/p/3956266.html