WKPDFView doesn't respect safe area insets
Created attachment 316896 [details] Patch
<rdar://problem/33558386>
Created attachment 316899 [details] Patch
http://trac.webkit.org/changeset/220138/webkit
Comment on attachment 316899 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=316899&action=review A minor follow-up question: > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:1271 > + [self _didChangeAvoidsUnsafeArea:NO]; I assume it's OK to call this, even though WebPageProxy's m_avoidsUnsafeArea may not have actually changed? > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:1286 > + [self _didChangeAvoidsUnsafeArea:_page->avoidsUnsafeArea()]; Ditto.
Yes, it's fine, just a little extra work. And we're already swapping out the content view, so it's not significant in the grand scheme of things.