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

Progress not working on local html files loaded with loadRequest: #40

Closed
imanzarrabian opened this issue Mar 5, 2015 · 1 comment
Closed

Comments

@imanzarrabian
Copy link
Contributor

Hey,
It seems to me that only http and https schemes are currently supported and this makes urls starting with file:// not work with the progress mechanism. Am I correct or missing something?
This could be useful for local HTML strings for example. Using a file instead of loadHTMLString:
Anyway I added this line of code and a pull request ready if needed ;)

BOOL isHTTPOrLocalFile = [request.URL.scheme isEqualToString:@"http"] || [request.URL.scheme isEqualToString:@"https"] || [request.URL.scheme isEqualToString:@"file"];
@axl411
Copy link

axl411 commented Jan 25, 2016

@ninjinkun hi 人参君, could you please add a new release including this PR? Currently the newest release is "on May 7, 2014"

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

3 participants