There is a method in Watchkit extension which displays the items in the tableview. There are around 500+ items and the memory increases from 2.9mb to 7.8mb and the watch app crashes. The method is as follows:
[_timeTable setNumberOfRows:timeCardArray.count withRowType:kWDTimeRow];
[timeCardArray enumerateObjectsUsingBlock:^(WDTime *timeCard, NSUInteger index, BOOL *stop) {
WDTimeRowController *timeRow = [_timeTable rowControllerAtIndex:index];
[timeRow configureWithData:timeCard delegate:self atIndex:index];
}];
Further in the device log, I can see this message "watchkitapp failed to scene-update in time"
How to fix this crash? Is it caused by memory or the large waiting time for 500 items to load in watch tableview?