Reply to Custom UIView over specific text in WKWebView? You might be able to get the frame of the HTML element, by executing some JS code using https://developer.apple.com/documentation/webkit/wkwebview/1415017-evaluatejavascript UI Frameworks UIKit Oct ’20