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

how can i know cache finished easily? #3

Closed
mxyolande opened this issue Sep 5, 2016 · 1 comment
Closed

how can i know cache finished easily? #3

mxyolande opened this issue Sep 5, 2016 · 1 comment

Comments

@mxyolande
Copy link

No description provided.

@vitoziv
Copy link
Owner

vitoziv commented Sep 7, 2016

Currently on develop branch, in VICacheManager.h

use + (VICacheConfiguration *)cacheConfigurationForURL:(NSURL *)url; to get cache information.

VICacheConfiguration *configuration = [VICacheManager cacheConfigurationForURL:<URL>];
if (configuration.progress >= 1.0) {
    // cache done
}

@vitoziv vitoziv closed this as completed Sep 24, 2016
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

2 participants