84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
ipad开发中遇到的一个bug,使用软键盘时计算弹出高度并修改textfeild位置
[Notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue]
问题:当使用蓝牙键盘时会只弹出上图的view而不显示键盘,此时如何判断是否使用外置键盘,及如何获取此view高度
认证高级PHP讲师
Get the y value from Rect to determine the y-axis position of the keyboard, subtract this value from the screen height to get the viewg height
Get the y value from Rect to determine the y-axis position of the keyboard, subtract this value from the screen height to get the viewg height