My app is not updating the information from the web services when the app is running in the background.
-(void)onTick:(NSTimer *)timer {
    [self parseData];
    [self.tableView reloadData];
}
- (void)viewDidLoad
{
    [super viewDidLoad];
    NSDate *d = [NSDate dateWithTimeIntervalSinceNow: 60.0];
    NSTimer *t = [[NSTimer alloc] initWithFireDate: d
                                          interval: 30.0
                                            target: self
                                          selector:@selector(onTick:)
                                          userInfo:nil repeats:YES];
NSRunLoop *runner = [NSRunLoop currentRunLoop];
[runner addTimer:t forMode: NSDefaultRunLoopMode];
}
If the app is visible than everything goes smooth, as soon as it gets put into the background it does not update the data until i bring the app to the foreground again.
Any ideas or suggestions to what is causing this?
Much appreciated.