I am building an application which should show local notification even when app is killed. If the app is in background it's working fine. But when app is killed local notification does not show up.
Am calling timer in the time interval of 20 secs in didUpdateLocations method.
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations
CLLocation *newLocation = [locations lastObject];
self.curlatitude = [NSString stringWithFormat:@"%f", newLocation.coordinate.latitude];
self.curlongitude = [NSString stringWithFormat:@"%f", newLocation.coordinate.longitude];
timerDidFire has the local notification call
Could you please confirm, whether we can show the local notifications when the app is killed/suspended?
If Yes, please suggest the work around.
Retrieving data ...