You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a view first experiences a network error, and displays that information, it should re-request and refresh the data the next time it is refreshed. In particular, whenever viewDidLoad is called, it will re-request the data if the previous attempt returned an error. But this method is not called when the app wakes up from the background. So, for example, put a device in airplane mode and then launch the app fresh or go home. You should get an alert dialog saying the network is out, and the word of the day button will show the same information. Put the app to sleep. Exit airplane mode, so that you have connectivity again. Wake the app by tapping the app icon. You can continually tap the home button and the app icon, and it will never refresh. Now, from the Dubsar home view, tap the About button. Then tap Done. The application will request and refresh the word of the day.
This should happen when it wakes from the background after an error.
The text was updated successfully, but these errors were encountered:
If a view first experiences a network error, and displays that information, it should re-request and refresh the data the next time it is refreshed. In particular, whenever viewDidLoad is called, it will re-request the data if the previous attempt returned an error. But this method is not called when the app wakes up from the background. So, for example, put a device in airplane mode and then launch the app fresh or go home. You should get an alert dialog saying the network is out, and the word of the day button will show the same information. Put the app to sleep. Exit airplane mode, so that you have connectivity again. Wake the app by tapping the app icon. You can continually tap the home button and the app icon, and it will never refresh. Now, from the Dubsar home view, tap the About button. Then tap Done. The application will request and refresh the word of the day.
This should happen when it wakes from the background after an error.
The text was updated successfully, but these errors were encountered: