UIPickerView 加载时发生变化
我有一个 UIPickerView,每次加载它时它都会垂直移动。我在该视图底部的工具栏上也有一个反馈按钮。当然,如果我按下此按钮,我将进入电子邮件界面视图以留下反馈。并且,当我返回 UIPickerView 时,在离开或取消反馈后,页面移位会得到纠正。对于为什么会发生这种转变有什么建议吗?关于如何纠正它有什么建议吗?
I have a UIPickerView that shifts vertical each time i load it. I have a feedback button on a toolbar on the bottom of this view as well. Of course, if i press this button i am taken to the email interface view to leave feedback. and, when i return to the UIPickerView, after leaving or cancelling feedback, the page shift is corrected. Any suggestions on why this shift is occurring in the first place? Any suggestions on how to correct it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不久前也有过类似的问题,只是注意到它有一个新的解决方案。还没有机会尝试一下,但也许会对你有所帮助。
dismissModalViewControllerAnimated 使视图向下移动
I had a similar question a while back and just noticed it has a new solution. Haven't had a chance to try it out but maybe it will help you.
dismissModalViewControllerAnimated shifts view down