就是上图的情况,请问是什么原因,怎么解决?
学习是最好的投资!
try this
(void)viewWillLayoutSubviews {
[super viewWillLayoutSubviews]; yourView.frame = self.view.bounds;
}
try this
(void)viewWillLayoutSubviews {
}