Skip to content

Instantly share code, notes, and snippets.

@Split82
Created March 11, 2014 13:29
Show Gist options
  • Save Split82/9485609 to your computer and use it in GitHub Desktop.
Save Split82/9485609 to your computer and use it in GitHub Desktop.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
TestViewController *viewController = [[TestViewController alloc] init];
[self presentViewController:viewController animated:YES completion:nil];
}
@Split82
Copy link
Author

Split82 commented Mar 11, 2014

It looks like this code produce random lag (0.05s - 0.5s) when presenting any UIViewController. (tested on iOS7.1, device and simulator). Using the same presentation code outside of tableView:didSelectRowAtIndexPath: method doesn't cause any lag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment