iOS Question Wait for Network permission

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.
In my app on the first start right after installation I need to pull Privacy statement from the Internet. But first user must accept permission to connect to the network. This permission pop-up and the user must allow it. But at the same time my app work flow continues and sub GetPrivacy executed. Of course it doesn't work because user hasn't allowed connection yet.

Now I just use Sleep(2000) to wait for user. Is there any better way to do it? I've found this post Check for notification permissions but this is about notification permission. How to do it for Network permission?
 
Top