Post

Replies

Boosts

Views

Activity

How to use restore UI State when willFinishLaunchingWithOptions has a lot of initialization code for https request
We try to follow UI Restoration Process as below to restore our app to last screen, but we have a lot of initialization processes in willFinishLaunchingWithOptions: Show a splash screen Check if access token is validation if invalid show a login screen and let user input ID/PW, Request to get access toke with ID/PW, save access token. Request user information with access token. Show home screen All of above processes in async threads, so willFinishLaunchingWithOptions will return YES soon. After iOS restore our app last screen, our initialization still in processing, at last, home screen is displayed, and we can't stop at screen by iOS restored. We want to change async to sync for REST API request, is this possible? what can we do next to use Restore UI State?
0
0
483
Sep ’21
Where I can find ip range for iOS app?
I want to know the ip range when Apple to check my app, so that I can open FW in my company, does anyone help me?
Replies
3
Boosts
0
Views
538
Activity
Mar ’24
How to use restore UI State when willFinishLaunchingWithOptions has a lot of initialization code for https request
We try to follow UI Restoration Process as below to restore our app to last screen, but we have a lot of initialization processes in willFinishLaunchingWithOptions: Show a splash screen Check if access token is validation if invalid show a login screen and let user input ID/PW, Request to get access toke with ID/PW, save access token. Request user information with access token. Show home screen All of above processes in async threads, so willFinishLaunchingWithOptions will return YES soon. After iOS restore our app last screen, our initialization still in processing, at last, home screen is displayed, and we can't stop at screen by iOS restored. We want to change async to sync for REST API request, is this possible? what can we do next to use Restore UI State?
Replies
0
Boosts
0
Views
483
Activity
Sep ’21