I'm experiencing a FPS slow down (from 60 FPS to ~40 FPS) when transitioning from a scene that displays a UITableView.
The interesting thing is that this slow down only occurs if I don't interact with the table view before leaving the scene. (If I scroll the tableview before leaving the scene the FPS remains at 60 FPS.
Can anyone offer any pointers/suggestions as to what I can try to prevent this happening?
I've found that if I revisit the scene containing the UITableView and scroll it and then leave again the FPS returns to 60FPS.
I'm adding the UITableView to the scene in the onEnterTransitionDidFinish: method using
[[[Director sharedDirector] openGLView] addSubview:(UIView *) myTableViewController.tableView];
Whenever I leave the scene remove the tableview using:
[myTableViewController.tableView removeFromSuperview];