iOS Development UI Chapter-app Mainstream UI Framework structure

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.