
键盘
小手一背爱谁谁
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iOS textField 回收键盘
UITextField *text = [[UITextField alloc] initWithFrame:CGRectMake(50, 50, 180, 50)]; text.backgroundColor = [UIColor yellowColor]; [_view addSubview:text]; [text release]; 1.点击右下角或者回车回收键盘 1.设置代原创 2015-11-24 12:29:02 · 1494 阅读 · 0 评论 -
键盘遮点击空白挡回收自动处理的第三方库 IQKeyboardManager
仓库地址https://github.com/hackiftekhar/IQKeyboardManager.git #import "IQKeyboardManager.h" - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions原创 2015-12-23 11:08:34 · 1675 阅读 · 0 评论 -
iOS textView光标位置输入以及删除字符或者emoji表情(自定义键盘的删除方法)
/** * 光标位置输入 * * @param emoji 要输入的内容emoji和字符 */ - (void)insertStringWithGuangBiaotext:(UITextView *)textView emoji:(NSString *)emoji { NSRange range = textView.selectedRange; NS...原创 2016-08-24 11:10:12 · 6856 阅读 · 2 评论 -
iOS 输入框弹出键盘后改变tableView高度内容不被遮挡
// 键盘弹出改变tableview高度 - (void)registerKeybordNotification { NSNotificationCenter *notification = [NSNotificationCenter defaultCenter]; [notification removeObserver:self]; [原创 2016-10-10 17:27:33 · 2082 阅读 · 0 评论 -
iOS 键盘遮挡输入框解决方案
- (void)addNotification { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil]; [[NSNotificationCenter原创 2016-12-21 14:30:28 · 2580 阅读 · 0 评论