摘要:
UITableView中多个UITextField时,编辑textfield 时UITableView 自动滚动到当前textfield 可见的行即不被键盘遮住,及键盘的显示和隐藏的问题1、 采用 NSNotificationCenter 方式在 .h 文件中 添加两个变量后面会用到int keyboardHeight;BOOL keyboardIsShowing;@property (nonatomic, retain) UITextField *currentTextField;在.m 文件里@synthesize currentTextField = _currentTextField; 阅读全文
posted @ 2012-03-12 12:36 billpeng 阅读(6142) 评论(0) 推荐(0) 编辑