How and where to call - setNeedsLayout
method of an UIView
instance when device rotation changes without necessarily having an UIViewController
controlling the view? Basically this could boil down to understanding view life cycle generally without a controller...
質問する
58 次
1 に答える
0
I guess some of the things that an UIViewController
acts on behalf of the views when the user interacts with them (such as interface orientation changes, etc.) might be be handled by registering to UIApplicationDidChangeStatusBarOrientationNotification
in UIView
instead.
于 2012-11-14T13:38:43.113 に答える