swift 使用xib布局创建带有xib的ViewController
1. 在AppDelegate 引用创建的ViewController
image
2. 点击项目选择general 设置main interface 为空 设置 lauch Screen file 为启动的ViewController 的XIb
3. 删除对应的默认创建的ViewController 和main.Storyboard 和lauch screen file
image
image
image
本文标题:swift 创建xib项目
本文链接:https://www.haomeiwen.com/subject/toryjqtx.html
网友评论