For interface a's present to interface B, data on interface a cannot be transmitted to interface B. After interface B dismisses, data on interface A is reset.

Source: Internet
Author: User

After ios7, data cannot be transmitted to the next interface.

The query shows that the next interface will initialize first, and viewdidload will be taken first. As a result, after the interface is loaded, the transmitted data cannot be displayed,

In general, this problem occurs when the transmitted data is downloaded to viewwillappear, Which is correctly displayed after the interface appears.

 

----------------------------------------------

LZ solves the data problem with viewwillappear. However, when the camera's uiimagepickercontroller and dismiss are called back, the current interface is reset, it refreshed the infinite cycle of the question caused by the first question of the answer,

LZ finally tried the solution after suffering for two days.

Use delayed call to solve the problem, and find that the data is actually transmitted, but there is no data during the display, and you can manually refresh the data after the delay.

For interface a's present to interface B, data on interface a cannot be transmitted to interface B. After interface B dismisses, data on interface A is reset.

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.