Webview load_html issue
DigiDan last edited by
When using ui.webview.load_html() to use an HTML string the subsequent web page loaded has problems loading any relative links. All of these links have the protocol applewebdata://. From my research it seems that the equivalent objective c uiwebview function takes an extra baseUrl parameter to allow it to handle these links correctly.
Is there any chance to update ui.webview to take this extra parameter?
JonB last edited by
Since you have the string, just use replace all instances with http...
Alternatively, implement a
webview_should_start_loadIn your delegate that does this, though that will only work for clicked links