simulated in iOS4.1
My app takes RSS data and loads in a table.
If it loads once it's fine....BUT the problem starts when I use the NSTimer to autorefresh every 10 seconds, it closes the app and goes back to homescreen.
Any suggestions?
- (void)viewDidAppear

BOOL)animated {
[super viewDidAppear:animated];
if([blogEntries count] == 0) {
[self refreshData];
}
reloadTimer = [NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(refreshData

userinfo:nil repeats:YES];
}
- (void)refreshData{
NSString *blogAddress = @"http://twitter.com";
[self grabRSSFeed:blogAddress];
[blogTable reloadData];
}
- (void)viewWillDisappear

BOOL)animated {
[reloadTimer invalidate], reloadTimer = nil;
}