I'm attempting to develop a basic WebView application utilizing UITabBarController. Strangely, the CSS fails to load when I incorporate the Tab Bar. However, if I switch back to a regular View Controller without any other modifications to the code, the CSS loads perfectly fine.
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)
}