Questions about allowing access to user data from iOS10

Source: Internet
Author: User
Tags blank page

I do not know when this problem occurred, until I rewrite the project has to deal with IPV6 audit.

No previous boot page, open the app directly into the host controller. When a popup allows access to the User Data window, the data on the main page is not loaded.

All data requests are forbidden until the user has allowed access to the data. So the main page of the network request failed, causing the network data will not appear, and when the user allows, the main page will not be automatically refreshed again, which caused the user to see the first installation of the app when the homepage is a broken or a blank page, which is quite unfriendly to the user's experience, While the Kill app will return to normal when it's re-entered, it's really a serious bug. But Apple does not provide the corresponding API;

So we can only go the other ways:

My practice is to add a boot page that allows the user to click on the Allow data when the page is executed so that it does not affect the network request when it enters the homepage. But it didn't happen, and the pop-up window was still there when it came to the homepage. Later I suspected that the boot page did not make a network request, and in the boot controller added a request code, this is the only wish. You can do the same.

In addition, the delay operation or the main page to add a manual refresh is a good choice, you can also try;

Questions about allowing access to user data from iOS10

Related Article

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.