SCNavigationControlCenter
SCNavigationControlCenter copied to clipboard
Snapshot of the dynamically filled viewController
Hey, nice job with this control center!
Works cool, but there is one important thing to improve. If you have dynamic content, let's say UITableView, that gets filled after some time (e.g. data from web API) - you won't see it in the ControlCenter as the snapshot is done when viewController just showed up.
Any ideas on how to change this?
I've already tried using
-(void) navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
and create a snapshot for current viewController that is about to be hidden. So we will see latest data in the ControlCenter.
But for some reasons - after snapshot, result image appears without navigationBar and tabBar. Any thoughts?