Has anyone managed to successfully add a header or footer view to a WKWebView
ScrollView
?
I'm currently trying to do this using the method described here for a UIWebView
Adding a header view to a UIWebView similar to Safari and Articles.
When this method is used in a WKWebView
the content view origin.y
is correctly changed but content is cut off at the bottom.
Using the scroll view content offset is also not possible as it breaks fixed positioned CSS elements in the web view.
from Adding header view to WKWebView ScrollView
No comments:
Post a Comment