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

Where to place [self.navigationController showSGProgressWithDuration:ellapsedSeconds]; in a UIWebView #14

Open
S1U opened this issue Aug 27, 2014 · 0 comments

Comments

@S1U
Copy link

S1U commented Aug 27, 2014

Thank you for your sample! I'm leveraging it in my app, but have some questions.

  1. which methods to place [self.navigationController showSGProgressWithDuration:ellapsedSeconds]; - (void)webViewDidFinishLoad:(UIWebView *)webView or - (void)webViewDidStartLoad:(UIWebView *)webView ?
  2. How about ellapsedSeconds, where to place?
NSDate * endDate    = [NSDate date];
ellapsedSeconds     = [endDate timeIntervalSinceDate:startDate];

Thank you!

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