带有一个UITextView的AlertView
来源:互联网 发布:linux中dump命令 编辑:程序博客网 时间:2024/05/02 03:47
在iOS7以后苹果公司就不允许在UIAlertView上添加子控件了,而UIAlertController是在iOS8以后才能用。
所以要实现alertView的输入框可输入多行的效果就只能自定制alertView了。
下载地址:http://pan.baidu.com/s/1dDeX9dR
// 在需要的.m文件中导入头文件
#import "TextViewAlertView.h"
// 创建TextViewAlertView的对象
TextViewAlertView *textViewAlertView = [[TextViewAlertViewalloc]initWithTitle:@"签名"message:nil];
textViewAlertView.delegate = self;
[textViewAlertView showInView:self.view];
// 实现确认按钮的代理
#pragma mark - TextViewAlertViewDelegate
- (void)textViewAlertViewSureBtnClick:(id)alertView
{
}
0 0
- 带有一个UITextView的AlertView
- 带有一个UITextView的AlertView
- IOS 一个带有placeholder的UITextView
- 一个带有标记的SeekBar
- 一个带有 PlaceHolder 的BRPlaceholderTextView
- alertView的一些建议
- ios8 新的AlertView
- AlertView的基本用法
- 简单的自定义AlertView
- alertView的简单封装
- AlertView
- alertview
- alertView
- 创建一个带有CheckBox的TreeView
- IconCheckBoxPreference: 一个带有图标的CheckBox preference
- CSS定义一个带有颜色的边框
- 一个带有JTextArea的通用JScrollPane
- 一个带有min函数的栈
- linux grep命令详解
- Windows 7注册表键值的权限问题以及提升权限的方法
- fscanf函数和memcopy函数,memmove函数
- Linux负载均衡软件LVS之一(概念篇)
- git log常用命令以及技巧
- 带有一个UITextView的AlertView
- 伸展树uva11996
- AlphaBeta剪枝算法
- 遇到QT信号不能在派生类定义的问题 undefined referenc signals
- crtmpserver的协议架构
- c之将数组传进函数中的方法
- Xcode中使用method_invoke或者objc_msgSend()报错Too many arguments to function call ,expected 0,have3
- 如何让文本框背景色透明
- error: exception handling disabled, use -fexceptions to enable under Android NDK enviroement