@Leo Dabus thanks a lot for this hint, but I guess I have a better solution:
func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -> Bool {
if navigationType == UIWebViewNavigationType.LinkClicked{
UIApplication.sharedApplication().openURL(request.URL!)
return false
}
return true
}
this one works perfect.
solved How to open external link from UIWebView not in my App, but in Safari? SWIFT