UIPickerView 加载时发生变化

发布于 2024-09-09 00:25:16 字数 166 浏览 1 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

攒眉千度 2024-09-16 00:25:16

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文