meismyles / SwiftWebVC

A drop-in inline browser for your Swift iOS app.
MIT License
329 stars 117 forks source link

Alter the HTML loaded in SwiftWebVC? #36

Open kennywyland opened 6 years ago

kennywyland commented 6 years ago

Is there any way to insert myself into the html loading process? I'd like to apply a few simple text replacements with the html, but the delegate only gives me start and finish call backs.

Is the only way to wait until it has been loaded and then pull the HTML from the webview, change it, and then set it? If so, will that trigger the didFinishLoading() callback again?

meismyles commented 6 years ago

Hey,

Sorry I haven't got time to look into the just now but I will get round to it as soon as I can.