iOS 横竖屏走的方法

来源:互联网 发布:淘宝登陆 编辑:程序博客网 时间:2024/06/07 05:57


是ViewController 的时候

- (void)viewWillLayoutSubviews{

    [superviewWillLayoutSubviews];

}

view 的时候

- (void)layoutSubviews{

   // @"走这个"

}

0 0
原创粉丝点击