视图控制器需要针对iPhone和iPad显示完全不同的界面,通过创建两个独立的XIB文件来实现
针对iPhone和iPad的XIB文件需要在类名后加上对应的后缀:
CZViewController~iphone.xib
CZViewController~ipad.xib


针对iPhone和iPad的XIB文件需要在类名后加上对应的后缀:
CZViewController~iphone.xib
CZViewController~ipad.xib
本文标题: 视图控制器针对iPhone和iPad显示完全不同的界面
本文链接:https://www.haomeiwen.com/subject/owmyextx.html
网友评论