编制参考:
1、https://developer.apple.com/library/ios/qa/qa1686/_index.html
2、网址: http://blog.sina.com.cn/s/blog_6d9cecaf0101chnt.html
所处位置的区别:
顶端为:Nav Bar,图片为 20 * 20 (像素可用)。
底端为:Tab Bar,图片为 30 * 30 (像素可用)。
继承关系的区别
Nav Bar 为 UINavigaionBar 的实例,从属于 UINavigationController实例。
Tab Bar 为 UITabBar 的实例,从属于 UITabBarController 的实例。
所以在为不同控件建立 class 时,需按照继承关系进行编写。