SCNavigationControlCenter icon indicating copy to clipboard operation
SCNavigationControlCenter copied to clipboard

Snapshot of the dynamically filled viewController

Open Quarezz opened this issue 8 years ago • 0 comments

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?

Quarezz avatar Mar 12 '16 11:03 Quarezz