If I have some simple code that displays "hello world" in a label with a button push, we know that that text will remain there. Normally if you press the home button and then come back to the app the text should still be there. However, I am finding when running the app in Xcode that when I return the text is cleared. Basically the app runs from a fresh start when i return.
Why does this do this and how do I fix it? I have written apps in Xcode using Objective-C and it automatically remembers the app state when I return.