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

后端 未结 11 1724
你的背包
你的背包 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:07

    Ed Marty's answer is the correct one. The reason it will happen if you are not overriding any of the rotation animation is probably that you reply "YES" to shouldAutorotate.. for some view. If you do not implement rotation at all, then you should just not override the shouldAutorotate.. method. If you do override that method, then just override the single step rotation method as well and pass it along to the super.

提交回复
热议问题