I am trying to create a simple WebView app using UITabBarViewController. The CSS does not load when I use Tab Bar. If I use a simple View Controller, the CSS loads. There are no other changes to the code.
let request: NSMutableURLRequest = NSMutableURLRequest(url: myUrl)
if (webView != nil) {
} else {
self.loadView()
self.webView.navigationDelegate = self
}
if (self.finishedUrl != myUrl.absoluteString) {
webView.load(request as URLRequest)
}