The UIWebViewDelegate methods didn't work, solution: added the WebView's delegate to the WebViewController using the storyboard