Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ScrollView 阻塞 NavigationViewController
也许您可以尝试设置当前视图的框架..例如:
CGRect r = self.view.frame; self.view.frame = CGRectMake(r.origin.x, r.origin.y, r.size.width, r.size.height-100);
并且当用户完成键盘操作后,添加 100 以将其恢复...(而不是 100,您应该从包含键盘高度、位置的通知对象中获取值)...