-
Notifications
You must be signed in to change notification settings - Fork 32
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
Time stops when app is closed (in background) #8
Comments
Thanks Ben, Glad you've found this helpful! I'm not really supporting this much anymore, so that might be a bug due to recent iOS changes. @vermont42 do you have any ideas? Thanks, |
Thanks Matt, much appreciated. Sent from my iPhone
|
My app RaceRunner started as a Swift port of MoonRunner. I'm not sure what exactly would cause the behavior that Ben describes, but here is a brainDump on running in the background. Ensure that the app has the background-audio and (more importantly) background-GPS entitlements. If it does not, iOS will sometimes suspend the app when it is in the background. Usage of other apps while RaceRunner is in the background may result in There is a fix for this behavior in the latest version of RaceRunner, which is pending review. If a view controller receives a Here is the source code for RaceRunner. As an aside, if you are learning iOS development, you may want to check out the Swift port of Matt's tutorial about MoonRunner. Update: I recently used RaceRunner to track the 50-minute drive from Berkeley to Menlo Park. Curiously, RaceRunner received a |
Hi,
Love the app, thank you. I've been modifying it and I noticed distance updates even while the app is closed but time stops. I'm fairly new to IOS dev. Any ideas on how to get time to continue even while app is running in the background?
Thanks again.
The text was updated successfully, but these errors were encountered: