iOS - Weird problem - iOS15 fails to make a network request when launching the app for the first time

Background: When the app is launched for the first time on iOS15, the local network pop-up box prompt is displayed as shown in the figure, and all network requests fail at this time.

Insert image description here

reason

Through continuous testing, it was found that the problem was caused by the activation of a proxy on the mobile phone. After turning off the proxy, there will be no pop-up box as shown in the picture.
Systems before iOS 15 don't seem to have this problem. I don't know if it's a bug in system 15.

Apple also does not provide an API to detect whether the "Local Network" pop-up box pops up and the user selects the status. So this problem cannot be solved for the time being.
However, normal users will not open a proxy when using the app.

Welcome to leave a message for discussion.

Guess you like

Origin blog.csdn.net/haifangnihao/article/details/121998533
Recommended