It seems that with Xcode 8, on viewDidLoad, all viewcontroller subviews have the same size of 1000x1000. Strange thing, but okay, viewDidLoad has n
viewDidLoad
As per new update in ios this is actually a bug but we can reduce this by using -
If you are using xib with autolayout in your project then you have to just update frame in autolayout setting please find image for this .