Kodeco Forums

Background Modes in iOS Tutorial

Beginning with iOS 4, you can design your apps to stay suspended in memory when users push the home button. Even though the app is in memory, its operations are paused until the user starts it again. Or are they? Of course there are exceptions to this rule! In certain situations, the app can still […]


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2733-background-modes-in-ios-tutorial

Hi,

I want to show an alert view when my iOS app is in the background (and it’s using location).

I am aware of the local notifications approach and it doesn’t work if the user turns off/ changes the Notifications in Settings. I am looking for something different.

For example, the Uber Partner (Driver) app shows an alert and plays a sound even when:

  • I have turned off notifications!
  • My iPhone is in Silent mode!

Please find other details here:

uialertcontroller - Show an alert when iOS app is in the background - Stack Overflow

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]