IOS9 after the change of the prompt window, the use of Uialertcontroller

Source: Internet
Author: User

is a few of their own style, can be set according to their own needs

Add uialertaction can be freely combined according to need, note its three types of the total third, the system gives the default is the red color, you can prompt important actions, handler can add an event after the user clicked on the uialertaction you set will be executed after the event.

Uialertcontroler offers two styles, one in the middle of the phone screen, one at the bottom of the phone, and can be selected as needed.

In addition, small make-up feeling can put this thing encapsulated, easy to use in the project, because the technology is not in place, temporarily did not do, look forward to the big God shot.

The source code is as follows:

IOS9 after the change of the prompt window, the use of Uialertcontroller

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.