I have an iPad app with many viewcontrollers all loaded programatically from one mainViewcontroller. I do some UI changes when the orientation changes from portrait to landscape. So far I’ve been handling that notification in the mainVC. My question is :
how does Objective C handle the notification generation process? does it start with the mainVC and then trickle down to child UIControls? should I observe the UIInterfaceOrientation change in all viewcontrollers, or just the main one?
I have an iPad app with many viewcontrollers all loaded programatically from one mainViewcontroller.
Share
is a delegate to provide the notification on the device orientation change.I think you can implement this in all the viewcontrollers.
but also note that it is viewcontroller specific and it doesnt depend on the parent