I want to set required background mode key value so that my app also works in background. Actually i want to get the user location updates when the app is in background, but
In Xcode 5, Select your app, then enabled background modes and select location updates
Target > Capabilities