IOS Life cycle Call Order

Source: Internet
Author: User

Demonstrates the order from Viewcontroller to Textviewcontroller

    1. The order of the individual Viewcontroller is as follows:

      2015-08-08 11:32:01.601 text[2593:63988] Textviewcontroller Loadview

      2015-08-08 11:32:01.602 text[2593:63988] Textviewcontroller viewdidload

      2015-08-08 11:32:01.603 text[2593:63988] Textviewcontroller viewwillappear

      2015-08-08 11:32:01.605 text[2593:63988] Textviewcontroller viewwilllayoutsubviews

      2015-08-08 11:32:01.605 text[2593:63988] Textviewcontroller viewdidlayoutsubviews

      2015-08-08 11:32:01.605 text[2593:63988] Textviewcontroller viewwilllayoutsubviews

      2015-08-08 11:32:01.605 text[2593:63988] Textviewcontroller viewdidlayoutsubviews

      2015-08-08 11:32:02.107 text[2593:63988] Textviewcontroller viewdidappear

    2. Jump to the following situation

2015-08-08 11:33:20.888 text[2619:64813] Parent Viewwillappear

2015-08-08 11:33:20.892 text[2619:64813] Parent Viewwilllayoutsubviews

2015-08-08 11:33:20.892 text[2619:64813] Parent Viewdidlayoutsubviews

2015-08-08 11:33:20.894 text[2619:64813] Parent Viewdidappear

2015-08-08 11:33:22.058 text[2619:64813] Textviewcontroller Loadview

2015-08-08 11:33:22.058 text[2619:64813] Textviewcontroller viewdidload

2015-08-08 11:33:22.059 text[2619:64813] Parent Viewwilldisappear

2015-08-08 11:33:22.059 text[2619:64813] Textviewcontroller viewwillappear

2015-08-08 11:33:22.060 text[2619:64813] Textviewcontroller viewwilllayoutsubviews

2015-08-08 11:33:22.061 text[2619:64813] Textviewcontroller viewdidlayoutsubviews

2015-08-08 11:33:22.061 text[2619:64813] Parent Viewwilllayoutsubviews

2015-08-08 11:33:22.061 text[2619:64813] Parent Viewdidlayoutsubviews

2015-08-08 11:33:22.061 text[2619:64813] Textviewcontroller viewwilllayoutsubviews

2015-08-08 11:33:22.061 text[2619:64813] Textviewcontroller viewdidlayoutsubviews

2015-08-08 11:33:22.562 text[2619:64813] Textviewcontroller viewdidappear

2015-08-08 11:33:22.562 text[2619:64813] Parent Viewdiddisappear


Parent represents Viewcontroller

Textviewcontroller represents the controller after jumping over

IOS Life cycle Call Order

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.