Ios-ui Control Daquan

Source: Internet
Author: User

One view UIView and UIWindow

1. Display the view of the data

The following classes can display information on the screen:

    1. Uitestview: Renders a paragraph of text to the user and/allows the user to enter their own text using the keyboard. Can be set to editable or non-editable, using a single font size and a single typeface.
    2. UILabel: the instance renders a read-only text view of the segment.
    3. Uiimageviews: Displays the picture.
    4. Uiwebwiew: Displays Html,pdf or other advanced Web content.
    5. Mkmapviews: You want to embed the map in your application.
    6. Uiscrollview: the instance supports rendering of content that is larger than the normal application window size, scroll bar.

2. Make a selection view

    1. Uialertview: Only two or three options are displayed.
    2. Uiactionsheet: More than three.

3. Controls

A control is a screen object that the user touches into a callback trigger.

    1. UIButton: The instance provides a screen button
    2. Uisegmentedcontrol: Provides a row of buttons of equal size.
    3. Uiswtich: This class renders the switch selection.
    4. UISlider: Slider control, which allows the user to select the size of a value within a certain range.
    5. Uiscrollview: Scrolling view.
    6. Uipagecontrol: Provides a series of small dots that show a single page and let the user navigate to a later or previous page.
    7. Uitextfield: A control that enters text.

4. Table and Picker

UITableView: The table renders a scrolling selection list.

5. Columns

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

6. Progress and activities

    1. The Uiactiveityindicatorview provides a spindle-style wheel that is displayed during the processing task. The wheel tells the user that the task will be completed at a certain point in time, but not sure when it is completed.
    2. Uiprogreessview, the instance provides a progress bar that gradually fills up from left to right, indicating the progress of the task.

two view controller Uiviewcontroller

The view controller can centralize some view management.

View controllers are not views, they are abstract classes that do not have a visual representation, and only the view provides a visual canvas.

1.UIViewController

    1. Uiviewcontroller is the parent class of the view controller, which is used to manage the main views.
    2. Manage the life cycle of each master page: from start to finish and to consider possible changes in the view's lifetime.
    3. Sets the appearance of the view and the child views it displays.
    4. Responds to views that are showing or disappearing.

2. Navigator Controller Uinavigationcontroller

The Navigator controller allows you to navigate up and down the hierarchical structure of the tree view.

3. Parallel controller Uitabbarcontroller

Parallel controller

4. Table Controller Uitableviewcontroller

Uitableviewcontroller provides a standard connected UITableView instance and automatically sets the delegate and data source to point to itself.

The search display controller is a tabular view that provides a built-in search box through Uisearchbar.

Nsfetchedrsultscontroller can populate UITableView with objects obtained from the core data repository.

5. Address Book Controller

The Address Book user interface framework (ADDRESSBOOKUI.FRAMEWORK) provides several attempts to control the controller, allowing you to select a person from the Address book.

6. Picture Selection controller Uiimagepickercontroller

allows users to select pictures from the built-in albums or use the camera to take pictures or record videos.

7. Mail writing Mfmailcompseviewcontriller

Mfmailcompseviewcontriller allows you to create a user who can customize the mail message directly in the program.

8. Peer Picker Gkpeerpickercontroller

used to discover and link to other iphones.

9.Media Play Controller

Allows you to select and play music and movies

Ios-ui Control Daquan

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.