UINavigationController向下滚动单击后退按钮 [英] UINavigationController scrolls down on back button click
问题描述
我正在使用带有多个导航控制器的iPhone / iPad应用程序。当设备处于横向模式时单击视图的后退按钮时,上一个视图将垂直滚动到屏幕中,而不是像往常一样水平滚动。
I'm working on an iPhone / iPad app with several navigation controllers. When I click a back button of a view while the device is in landscape mode, the previous view scrolls vertically into the screen, instead of scrolling horizontally as usual.
推送动画总是水平工作,应该如此。
Push animations always work horizontally, as it should be.
什么可能导致这个奇怪的问题?
What could be causing this weird problem?
谢谢,
Adrian
推荐答案
你确定你要回到的视图控制器是否正确处理旋转?
Are you sure the view controller, you're getting back to, is set to deal with rotation properly ?
我有类似的问题使用 MonoTouch.Dialog 直到我添加 Autorotate = true;
到我的应用程序中的每个(非叶子) DialogViewController
。
I had a similar issue using MonoTouch.Dialog until I added Autorotate = true;
to every (non-leaf) DialogViewController
inside my application.
这篇关于UINavigationController向下滚动单击后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!