我已经创建了Ionic-Cordova应用程序(iOS应用程序)。
首先,我移除了键盘附件栏。
配饰栏做得很好。(下图)

...But然后当我向下滚动到底部时,它显示一个空白区域(键盘顶部的空白区域)

有人能想出怎么解决这个问题吗?
我不确定这是Cordova/iOS还是Ionic/css的问题,我试图解决所有的问题,但都不起作用。
发布于 2014-05-22 12:22:37
试试这个:
-(void)textFieldDidBeginEditing:(UITextField *)textField {
//Give your specifications here while editing
scrollview.frame = CGRectMake(0,0,320,285);
//If you are using tableview,give the constraints for tableview
}
-(void)textFieldDidEndEditing:(UITextField *)textField {
//Give your specifications here after editing completed
scrollview.frame = CGRectMake(0,0,320,586);
}https://stackoverflow.com/questions/23797632
复制相似问题