您的位置:首页 > 产品设计 > UI/UE

UIAlertView带textField

2015-10-10 17:40 417 查看
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"校验登录密码" message:@"" delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];

alert.alertViewStyle = UIAlertViewStyleSecureTextInput;

alert.tag = 33;

UITextField *t = [alert textFieldAtIndex:0];

t.placeholder = @"请输入登录密码";

[alert show];

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: