2

Is this possible? Like the app will launch at 8AM and closes at 10PM. I'm new to developing an app that uses background. What I do know currently is that the app can run in the background for a long time.

What I also have right now is my project that updates the user location in the background. With the help of this https://github.com/silento/Location - re-written in Swift 3.0.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Glenn Posadas
  • 12,555
  • 6
  • 54
  • 95

1 Answers1

4

This is not possible. But, you can use local notifications to tell user to run the app.

  • Now that's what I have thought and forgot to mention in my question. Thank you so much. EDIT: Is it possible to use local notification when the app is already terminated? – Glenn Posadas Apr 20 '17 at 06:18
  • Alternatively, you can use push notification as well. Works when terminated. – JackyW Apr 20 '17 at 06:27
  • @JackyW Thanks. So a push notification coming from a server, and not a local notification. I'm reading articles right now about sending local notifications even if the app is terminated already. – Glenn Posadas Apr 20 '17 at 06:39
  • @prettyitgirl.com No problem. Check out firebase by google. Powerful tool for various purposes. I'm using Firebase for push notification, not complicated to set up, works flawlessly. Good luck! :D – JackyW Apr 20 '17 at 06:48