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];
alert.alertViewStyle = UIAlertViewStyleSecureTextInput;
alert.tag = 33;
UITextField *t = [alert textFieldAtIndex:0];
t.placeholder = @"请输入登录密码";
[alert show];
相关文章推荐
- UIExtendedEdge
- UIMenuController/UIPasteboard(1) 制作一个可以粘贴复制的Label
- LEETCODE-Implement Stack using Queues
- NSStringUIImage~NSData的相互转换以及中文转码
- require
- UIImage
- UIViewCotroller 的生命周期函数
- UIScrollView解决touchesBegan等方法不能触发的解方案
- iOS UITextView限制字数
- UI继承图
- UIView 中常见的方法总结
- 采用Visual Stuidio 2010 创建网站栏
- Selenium里WebDriver中窗口的close()与quit()
- uva 1151 Buy or Build (最小生成树)
- DUILIB界面设计技巧:如何设计可切换的TAB页面
- iOS开发UI篇-核心动画简介
- DuiDesigner控件Label无法设置文本对齐属性的BUG解决方案
- DuiDesigner修改:增强选择元素后的用户体验
- DuiDesigner修改:不绘制绿色边框
- easyui datagrid中使用combobox方法