摘要:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) ... 阅读全文
随笔分类 - ios键盘处理
ios中修改数字键盘
2013-07-19 11:42 by 甘超波, 3929 阅读, 收藏, 编辑
摘要:
自定义文本框: #import //自定义键盘的键定义@interface DIYKey : NSObject{}@property(copy, nonatomic) NSString* name;@property(copy, nonatomic) NSString* representedS... 阅读全文
IOS中文本框输入自动隐藏和自动显示
2013-07-12 15:16 by 甘超波, 4304 阅读, 收藏, 编辑
摘要:
uilabe和UIText扩展方法 +(UILabel*)LabWithFrame:(CGRect)_rect text:(NSString*)aText textColor:(UIColor*)aColor ... 阅读全文
ios中键盘处理(二)
2013-07-10 16:53 by 甘超波, 708 阅读, 收藏, 编辑
摘要:
设置UIscrollview的背景代码 - (UIImage *) ImageWithColor: (UIColor *) color frame:(CGRect)aFrame{ UIGraphicsBeginImageContext(aFrame.size); CGContextR... 阅读全文
ios中键盘处理源码
2013-06-20 14:17 by 甘超波, 2957 阅读, 收藏, 编辑
摘要:
1:先分别设置各个文本框的键盘类型(inputview)-->在特定键盘中textediting中禁用输入。 2:然后递归绑定各个键盘的工具条(inputaccessview).并且个各个控件绑定有顺序的tag 3:上一个和下一个功能:先找到第一响应者,然后利用tag进行切换第一... 阅读全文