0

I changed WKWebView's contentInset so i can add a headerView.but web can't be clicked within insets.smileEvday adviced me to add a empty div in HTML string, at the beginning of the body.if contentInset.top is equal to 100,height of the empty div should be 100px when using UIWebView.But I failed to calculate the height of the div when using WKWebView.if contentInset.top is equal to 100, how to calculate the height of the empty div?

potato
  • 333
  • 1
  • 10

0 Answers0