开发者

UINavigationController scrolls down on back button click

开发者 https://www.devze.com 2023-04-12 08:15 出处:网络
I\'m working on an iPhone / iPad app with several navigation controllers. Wh开发者_开发技巧en I click a back button of a view while the device is in landscape mode, the previous view scrolls verticall

I'm working on an iPhone / iPad app with several navigation controllers. Wh开发者_开发技巧en 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?

Thanks,

Adrian


Are you sure the view controller, you're getting back to, is set to deal with rotation properly ?

I had a similar issue using MonoTouch.Dialog until I added Autorotate = true; to every (non-leaf) DialogViewController inside my application.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号