开发者

UINavigationController: View not popping, but title pops

开发者 https://www.devze.com 2023-03-08 04:56 出处:网络
I have a UINavigationController and a UIViewController pushed onto the stack with pushViewController. When I click the default back button, the title appropriately animates away, but the view does not

I have a UINavigationController and a UIViewController pushed onto the stack with pushViewController. When I click the default back button, the title appropriately animates away, but the view does not pop. Is there something that I am missing?

There is a solution here: UINavigationController not popping view on back bu开发者_高级运维tton, but this involves overwriting the button itself. It doesn't seem to be very good design. Isn't the back button supposed to pop the view automatically?

-K


Could be due to an exception occurring - CoreAnimation eats the exceptions, so carefully check your console output for error messages.

0

精彩评论

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