When you create a new ViewController, it comes with xib. The width and height of self.view
printed in viewController.m is 600*600, but the interface display effect, constraint layout and the effect of running on the simulator are normal. ?
某草草2017-05-02 09:37:50
In viewDidAppear:
或者viewDidLayoutSubviews
中打印才是正常,因为在viewDidLoad:
, the view is only loaded and not laid out