A Swift version for the FLWebView