When the user rotates the device, I need to reposition my view.
I do this in viewDidLayoutSubview(). iOS then smoothly rotates
the view to the new position.
However, in order to reposition my view in viewDidLayoutSubview()
I need to know whether viewDidLayoutSubview() is called because
the user ha
What are you trying to accomplish?
For most developers just looking at the aspect ratio in viewDidLayoutSubviews
is sufficient. If you only want to do something for rotating, doing it as an
alongside animation in viewWillTransitionToSize is usually what you want.
Also from your last thread, if