City-of-Bloomington / open311-ios

GeoReporter iOS source code. Native iOS smartphone client app for Open311 API civic issue reporting.
http://open311.org
Other
23 stars 22 forks source link

Crash when waking from sleep #208

Closed inghamn closed 10 years ago

inghamn commented 10 years ago

The app will crash when waking up from sleep, restarting the app, and trying to navigate to the home screen. I think it's because we're referencing variables that are no longer in memory.

To reproduce: Start the app Choose a group, choose a service Enter some text in the description (but do not post) Close the keyboard. Click the iPhone home button to exit the app Put the phone to sleep. Wait a little bit (30 seconds or so) Wake the phone back up Launch the app CRASH

inghamn commented 10 years ago

I'd really like to tell the app to not save state and not to restore state. But I can't seem to get it to work. What we want is for the app to always start on the HomeController.