Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot of the dynamically filled viewController #2

Open
Quarezz opened this issue Mar 12, 2016 · 0 comments
Open

Snapshot of the dynamically filled viewController #2

Quarezz opened this issue Mar 12, 2016 · 0 comments

Comments

@Quarezz
Copy link

Quarezz commented Mar 12, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant