Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views not refreshed after application wakes from background #27

Closed
jdee opened this issue Sep 1, 2011 · 1 comment
Closed

Views not refreshed after application wakes from background #27

jdee opened this issue Sep 1, 2011 · 1 comment
Labels

Comments

@jdee
Copy link
Owner

jdee commented Sep 1, 2011

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.

@jdee
Copy link
Owner Author

jdee commented Sep 2, 2011

This is primarily a problem for the Word of the Day in the iPhone app, and nowhere else.

@jdee jdee closed this as completed in e743d85 Sep 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant