I have a page controller which consists of five table views. When swiping between these table views, there is a short lag. Is this normal or could it be caused by some bad code?
I have uploaded a short video demonstrating the issue.
[Video] UITableView with UIPageController causes a lag
EDIT:
It is as if it helps removing cell.detailTextLabel.text
would this make sense?
This is where I set the detail label:
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat: @"'kl.' HH:mm"];
NSTimeZone *gmt = [NSTimeZone timeZoneWithAbbreviation:@"GMT"];
[dateFormat setTimeZone:gmt];
NSString *dateFormatted = [dateFormat stringFromDate:[thisEntry objectForKey:@"date"]];
if(![[thisEntry objectForKey:@"weekDay"] isEqualToString:@"Ikke programsat"]) {
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@ %@", [thisEntry objectForKey:@"scene"], dateFormatted];
}
[dateFormat release];