根据TextField的高度自动调节弹出键盘高度
摘要:
int prewTag ; //编辑上一个UITextField的TAG,需要在XIB文件中定义或者程序中添加,不能让两个控件的TAG相同 float prewMoveY; //编辑的时候移动的高度-(void) textFieldDidBeginEditing:(UITextField *)textField{ CGRect textFrame = textField.frame; float textY = textFrame.origin.y+textFrame.size.height; float bottomY = self.view.frame.size.height-t... 阅读全文
posted @ 2013-06-03 16:38 晏晟 阅读(164) 评论(0) 推荐(0) 编辑