Single-Stage vs Two-Stage Animation for iPhone Apps?

后端 未结 11 1744
你的背包
你的背包 2020-12-08 16:46

What are single-state and two-stage animation for rotating an iPhone window?

This is the \"error\" message I get in the Debugger Console (nothing crashes):



        
11条回答
  •  死守一世寂寞
    2020-12-08 17:16

    I just had the same problem. In my case was a silly mistake that I'm putting here just in case anyone else falls into that same issue.

    In my tabbed app I remove one of the original ViewControllers and added a new one with Storyboard to create a "Settings" section.

    This new VC had to be a table view VC and even I designed, compiled and run it without a problem, when I changed the orientation of the app I kept getting this “Using two-stage rotation animation” error.

    My problem was that I forgot to change in the original .h file interface "UIViewController" for "UITableViewController".

    Once this was done I changed on the Storyboard identity badge the class from the general value to my SettingsViewController and that was the end of it.

    I hope it can help someone else. It took me a while to get to bottom of this.

    Cheers,

提交回复
热议问题