获得UIAlertView的输入值
来源:互联网 发布:58同城网招聘淘宝客服 编辑:程序博客网 时间:2024/05/26 02:20
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:@"提示" message:@"请输入证书密码" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"确定",nil]; alertView.alertViewStyle = UIAlertViewStyleLoginAndPasswordInput; UITextField* textfield = [alertView textFieldAtIndex:0]; textfield.secureTextEntry = YES; textfield.keyboardType = UIKeyboardTypeNumberPad; textfield.delegate = self; textfield.placeholder = @"请输入密码"; alertView.delegate = self; [alertView show];}- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ UITextField *input = [alertView textFieldAtIndex:1]; NSLog(@"%@",input.text);}
0 0
- 获得UIAlertView的输入值
- 带输入框的UIAlertView
- 带输入框的UIAlertView
- uialertview 设置输入的位数限制
- 自带输入框的UIAlertView
- UIAlertView 多个输入框的使用
- FCKEDITO获得获得输入值的基本方法
- js获得input的实时输入值
- 获得输入的数字
- 限制UIAlertView上的TextField的输入字符长度
- 限制UIAlertView上的TextField的输入字符长度
- iOS5新增内容之支持文本输入的UIAlertView
- iOS5新增内容之支持文本输入的UIAlertView
- iOS5新增内容之支持文本输入的UIAlertView
- ios--UIAlertView多种带输入控件的弹出框
- iOS开发小记:带输入框(TextField)的UIAlertView
- iOS开发小记:带输入框(TextField)的UIAlertView
- iOS开发小记:带输入框(TextField)的UIAlertView
- Hibernate学习之一 项目搭建 hello Word!
- 获取路由器内的ADSL上网账号和密码或者获取电脑内的ADSL上网账号和密码教程(by 星空武哥)
- fork
- Mac OSX 10.9搭建nginx+mysql+php-fpm环境
- 推荐一些自己觉得好用的Sublime Text3插件
- 获得UIAlertView的输入值
- 11.7学习内容
- c++读写文件流
- LeetCode Same Tree
- QT中进行debug输出和使用cout cin等的问题
- Sicily 题目分类
- 隐含语义索引(Latent Semantic Indexing )
- PHP验证图片制作
- python 内置函数 map、 reduce 、filter