grgcombs / IntelligentSplitViewController

A smarter UISplitViewController that rotates correctly when placed inside a UITabBarController
Other
111 stars 22 forks source link

Console Message: Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations. #4

Closed nova2008 closed 13 years ago

nova2008 commented 13 years ago

I took the Intelligent Template example and made the first tab a SplitView also, just like the 2nd and 3rd tabs. Identical to the 2nd Tab. I made no other changes. Everything works fine, rotations and all but if I start the app in Landscape mode I get the following message in the console:

"Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method implementations".

Is there a workaround for this? Any way to suppress it? If I start in Portrait mode, the message isn't there. BTW, everything else works just fine.

John

grgcombs commented 13 years ago

As I understand it, this log message is a byproduct of not using the splitviewcontroller as the window's rootviewcontroller ... in a sense, it's inside another view controller and we're mucking around with the animation messages during a device rotation animation.

If that makes any sense.

In short, I'm not too worried about it, at least until Apple decides to stop "supporting" such configurations (they don't really support it right now, they just don't know that they are tacitly supporting it)

I am quite curious what happens once we try this in iOS 5 with the advanced view controller hierarchy additions.

grgcombs commented 13 years ago

I can confirm that this log message goes away (and things still work okay, as far as I can tell) on iOS 5.

nova2008 commented 13 years ago

Thanks for the prompt response. This is a very useful enhancement + clever as well. :-) We will be be submitting the app later this week. Only glad to give credit to this piece of code in the About box.