收集iOS--UIAlertView的常用属性
作者:
TenMios | 来源:发表于
2016-12-24 14:43 被阅读17次[self addTitle:@"提示" mes:@"密码不能少于3位" aTitle:@"我知道了"];
-(void)addTitle:(NSString *)title mes:(NSString *)mes aTitle:(NSString *)aTitle
{
UIAlertController *actionController = [UIAlertController alertControllerWithTitle:title message:mes preferredStyle:UIAlertControllerStyleAlert ];
UIAlertAction *alertAction = [UIAlertAction actionWithTitle:aTitle style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
}];
[actionController addAction:alertAction];
[self presentViewController:actionController animated:true completion:nil];
return;
}
本文标题:收集iOS--UIAlertView的常用属性
本文链接:https://www.haomeiwen.com/subject/bzglvttx.html
网友评论