You can see my screenshot of the xib file.
I am doing some manipulations in viewDidLoad
-(void) viewDidLoad { [smallView removeFromSuperview]; [bigView sendSubviewToBack:smallView]; }
Will the hierarchy change from view-> bigView-> smallView to view-> smallView-> bigView?
source share