阅读背景:

UITextView在UITableViewCell中平滑自动调整大小,在iPad上显示和隐藏键盘,但适用于iPhone

来源:互联网 

I have implemented a custom UITableViewCell which includes a UITextView that auto-resizes as the user types, similar to the "Notes" field in the Contacts app. It is working properly on my iPhone, but when I am testing it in the iPad, I am getting some very strange behavior: When you get to the end of a line, the keyboard hides for a millisecond and then shows itself again immediately. I would write it off as just a quirky bug, but it actually causes some data loss since if you are typing, it loses a character or two. Here's my code:I have implemented a custom UITableViewCell whi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: