Storyboard-enabled WebView which uses UIWebView for iOS < 8.0 or WKWebView for latest versions
- via code
let dynamicWebView = DynamicWebView()
dynamicWebView.delegate = self
extension DynamicWebViewDelegate {
func webViewDidFinishedLoading(view: DynamicWebView) {}
}
- via Storyboard
- Drag & Drop UIView
- Change view class to DynamicWebView
Control were created to work in Objective-C project so I can provide you a link with some info)
Setting up Swift and Objective-C Interoperability by Jen Sipila
Because I'm almost 100% sure that you will add custom methods and extend the delegate on your own