-
Notifications
You must be signed in to change notification settings - Fork 332
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
get heigth when add downview to other view? #67
Comments
You might want to get the content size instead, since the WKWebView's height is the size of the actual view--the content size should extend beyond that. Read: https://stackoverflow.com/questions/16910117/how-to-find-the-height-of-content-of-scroll-view-or-webview-in-iphone |
i tried two methods to get height, all fialed.
|
@Hotchner Can you please explain what you're trying to do with the height? There are different heights, so it's difficult to point you in the right direction unless we understand your use case. |
@iwasrobbed I add downView to a tableViewCell, and i need to update tableView height when downView complete render. So i calculated the height in webView's delegate, didFinish Navigation. |
You're better off asking that on StackOverflow (e.g. https://stackoverflow.com/questions/27515236/how-to-determine-the-content-size-of-a-wkwebview?noredirect=1&lq=1).
|
i tried to get height in WKWebview's delegate: didFinish Navigation, but get the wrong height, much heigher than correct.
How can i get then corret DownView height?
The text was updated successfully, but these errors were encountered: