Try not to remove notifications in the Viewwilldisappear: method

Source: Internet
Author: User
1, iOS7 new added navigation controller slide gesture, when the trigger side-slip return, will call the system's Viewwilldisappear: Method, cancel the side-slip return and call Viewwillappear: method. 2, in the gesture and notification of a series of operations as far as possible in the Dealloc method to execute, add notification as far as possible in the viewdidload and other one-time methods to execute. 3, in Viewwillappear:, Viewwilldisappear:, Viewdidappear:, Viewdiddisappear: etc similar to this will be called several times in the system method to add code, must consider the business logic, So as not to cause unnecessary trouble.

Try not to remove notifications in the Viewwilldisappear: method

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.