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?
我不久前也有过类似的问题,只是注意到它有一个新的解决方案。还没有机会尝试一下,但也许会对你有所帮助。
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