- 資源導(dǎo)入
將資源圖片導(dǎo)入到Assets.xcassets中。

資源圖片.png
- 添加啟動圖圖片
在LaunchScreen.storyboard中添加UIImageView,設(shè)置其約束,并為其選擇圖片LauchImage。

添加啟動圖圖片.png
- 新建工程目錄
選中AppDelegate.h文件Show in Finder,創(chuàng)建功能目錄文件,并將ViewController.h和ViewController.m文件移動到Classes/RegLog/Controller中,

文件目錄.png
刪掉工程中紅色的文件,拖入我們新創(chuàng)建的工程目錄,

工程目錄.png
- 修改已存類文件名
雙擊ViewController中的ViewController,右鍵->Refactor->Rename->修改文件名為NPRegLogViewController,確定保存即可。

修改已存類文件名.png

修改已存在類文件名.png
- 搭建微信控制器
點(diǎn)擊Main.stroyboard,將Tab Bar Controller拖進(jìn)storyboard中,將Size改成iPhone 3.5-inch尺寸。刪除Item1,he Item2。

創(chuàng)建TabBarViewController控制器.png
再拖進(jìn)Navigation ViewController到storyboard中,復(fù)制粘貼三份。并連線設(shè)置成TabBarViewController的ViewController。

導(dǎo)航控制器.png
設(shè)置TabBarViewController為Main.stroyboard的入口,點(diǎn)擊TabBarController勾選Is Initial View Controller。

設(shè)置入口.png
運(yùn)行程序,如下圖顯示,即可。

運(yùn)行效果圖.png