UIAlertView自带password输入框
来源:互联网 发布:mac 桌面壁纸位置 编辑:程序博客网 时间:2024/06/13 02:40
UIAlertView *alertView = [[UIAlertViewalloc]initWithTitle:@"Password"
message:@"Please enter your password"
delegate:self
cancelButtonTitle:@"Cancel"
otherButtonTitles:@"OK",nil];
[alertView setAlertViewStyle:UIAlertViewStyleSecureTextInput];
[alertViewshow];
AlertViewStyle:
typedefNS_ENUM(NSInteger, UIAlertViewStyle) {
UIAlertViewStyleDefault =0,
UIAlertViewStyleSecureTextInput,
UIAlertViewStylePlainTextInput,
UIAlertViewStyleLoginAndPasswordInput
};
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
UITextField *tf = [alertView textFieldAtIndex:0];
NSLog(@"%@",tf.text);
}
总之棒棒的
- UIAlertView自带password输入框
- 自带输入框的UIAlertView
- 带输入框的UIAlertView
- 带输入框的UIAlertView
- ios--UIAlertView多种带输入控件的弹出框
- iOS开发小记:带输入框(TextField)的UIAlertView
- iOS开发小记:带输入框(TextField)的UIAlertView
- iOS开发小记:带输入框(TextField)的UIAlertView
- iOS 开发之带输入框的UIAlertView
- 【代码笔记】iOS-带输入框的UIAlertView
- iOS开发小记:带输入框(TextField)的UIAlertView
- UIAlertView 带输入框,且输入框中预先填入字符
- iOS7实现带文本输入框的UIAlertView及获取TextField文本内容
- UIAlertView自动弹框创建步骤
- jquery十几行代码实现输入框自带清除按钮
- 在UIAlertView上面添加输入框
- 在UIAlertView上面添加输入框
- 在UIAlertView上面添加输入框
- C学习第一式:对scanf()函数的学习
- uva 11235 - Frequent values
- 细数从负载均衡到应用交付的演进历程
- 控件常用属性
- 看opengl写代码(10) 使用属性数组
- UIAlertView自带password输入框
- java中i=i++问题分析 source:http://www.ticmy.com/?p=43
- Html菜单的实现
- [iOS学习]怎么用返回键设置自定义的图片
- java 7 新特性/switch/枚举类型/二进制/字面量
- jqPaginator-master | kkpager-master 这两个分页插件的用法
- DuiLib介绍及其消息处理剖析
- 动态规划题集
- UVA 10917 Walk Through the Forest(Dijkstra+DAG动态规划)