> On 16 Jul 2015, at 14:23, Rick Mann <rm...@latencyzero.com> wrote: > > This delegate method is passed a WKWebView whose URL property is nil, a > WKNavigation that doesn't have any information, and an NSError that has in > its userInfo dictionary a NSErrorFailingURLStringKey. But in iOS 9 this key > is marked as deprecated in iOS 7 and is thus unusable in Swift. > > ViewController.swift:86:36: 'NSErrorFailingURLStringKey' is unavailable: APIs > deprecated as of iOS 7 and earlier are unavailable in Swift > > Any alternatives? Thanks. > > -- > Rick Mann > rm...@latencyzero.com >
Don’t you have a WKNavigation from the original load which you can compare this one with and work out what it was you were doing, and thus what it was it failed on? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com