What are iPhone controls?

Source: Internet
Author: User

 

 

From: "href =" http://blog.sina.com.cn/s/blog_5f11f3850100rk6r.html "> iPhone controls

Uiview and uiwindow

The rule for the iPhone view is: one window, multiple views. Uiwindow is equivalent to a TV, and uiviews is equivalent to an actor.

 

1. view of data displayed

The following categories can display information on the screen:

    1. Uitestview: presents text paragraphs to users and/or allows users to enter their own text on the keyboard. Editable or uneditable, with a single font size and a single font.
    2. Uilabel: Read-only text view of the Instance presentation segment.
    3. Uiimageviews: displays an image.
    4. Uiwebwiew: displays HTML, PDF, or other advanced web content.
    5. Mkmapviews: To applyProgramEmbedded map.
    6. Uiscrollview: The instance supports displaying content larger than the normal application window and a scroll bar.

2. Select a view

    1. Uialertview: only two or three options are displayed.
    2. Uiactionsheet: more than three.

3. Controls

 A widget is a screen object that is converted from a user touch to a callback trigger.

    1. Uibutton: The instance provides the screen button
    2. Uisegmentedcontrol: Provides buttons of equal size for a row.
    3. Uiswtich: provides a simple binary space. Select the class rendering switch.
    4. Uislider: You can select a value from a specified range by following a horizontal toolbar.
    5. Uiscrollview: You can move between pages.
    6. Uipagecontrol: provides a small dot that displays the single-gun page and allows the user to navigate to the back or front of the page.
    7. Uitextfield: the control that inputs text in sequence.

4. Table and Picker

 The table displays a scrolling selection list. Uitableview provides the most brave table style.

 

5. Column

    1. Uinavigationbar, which appears on top of many interfaces to provide navigation status.
    2. Uitabbarcontroller, uiserchdisplaycontroller

 

6. Progress and Activity

    1. UiactiveityindicatorviewProvides a spindle-style wheel that is displayed during processing tasks. This round tells the user that the task will be completed at a certain time point, but it is not appropriate to complete.
    2. Uiprogreessview, the instance provides a progress bar from the left to the right to indicate the progress of the task.

 

Uiviewcontroller

 

  View controllers can manage certain views in a centralized manner.

  View controllers are not views. They are abstract classes without visualization. Only views provide visual canvases.

  1. uiviewcontroller

    1.    Uiviewcontroller is the parent class of the View Controller. It is used to manage the main view.
    2.  Manage the lifecycle of each home page: from the beginning to the end, and consider the changes that may occur during the life cycle of the view.
    3.   Set the view appearance and Its subview.
    4.   Response to a view that is being displayed or disappears.

 2. Navigator controller uinavigationcontroller

 The navigator controller allows you to navigate up and down the hierarchy in the Tree View.

 

 3. Parallel controller uitabbarcontroller

 Parallel controller

 

 4. Table ControllerUitableviewcontroller

 Uitableviewcontroller provides a standard connected uitableview instance and automatically sets the delegate and data source to your own.

 The search display controller is a table view that provides a built-in search box through uisearchbar.

 NsfetchedrsultscontrolleR can fill in uitableview with objects obtained from the core data repository.

 

 5. Address Book Controller

 The address book user interface framework (addressbookui. Framework) provides several controllers that allow you to select a person from the address book.

 

 6. uiimagepickercontroller

 You can select an image from a built-in album or use a camera to take a photo or record a video.

 

 7. Email writing mfmailcompseviewcontrillEr

  MfmailcompseviewcontrillEr allows you to create users to customize mail messages directly in the program.

 

 8. Peer selector gkpeerpickercontroller

  Used to discover and link other iPhones.

 

 9. Media play Controller

  Allows you to select and play music and movies.

 

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.