Original http://www.blogjava.net/qileilove/archive/2014/11/18/420224.html
First, a simple example
Description: Complete a simple interface setup using the app's mainstream UI framework structure
Build page Effects:
Ii. construction process and points of attention
1. Create a new project, delete the original controller, add the Uitabbarcontroller controller as the management controller
2. Complete the construction against the interface
3. Note the point:
(1) Hide toolbar: Configure a property, Hideabotton bar in the push to hide the bottom bar at that interface is hidden, in which interface settings.
(2). Cell can set row height
(3) connection
(4) Description: In the above page construction directly using static cells, but in actual development, usually do not do so.
(5) Add Headerview (show a blue line) in TableView
Third, the app mainstream UI framework structure
Excuse me: Can the position of the Uitabbarcontroller and navigation controller in the structure be intermodulation? (One navigation bar)
Set the controller association or problems, tableviewcontroller default implementation of the method of the data source, two controllers to manage it in turn. About the navigation bar. What is shown on the navigation bar is determined by the stack top controller, with only one of the following navigation bars (the stack top controller is the Tabbar controller).
Additional Note: iOS7 Full-screen design
To print the hierarchy of controllers in iOS7:
To print the hierarchy of controllers in IOS6:
iOS Development UI Chapter-app Mainstream UI Framework structure