Prevent an app from running in the background

There are a few reasons why you would not want your app to run in the background, for example: During development it is easier not to run in the background. The default situation is that when you quit an app in the simulator, the app continues running in the...