Open amirrajan opened 7 years ago
checking the sender does indeed prevent the crash, but a bit more info: I check the challenge class as a workaround for https://forums.developer.apple.com/thread/72469 , in which the challenge type may or may not be a
NSURLAuthenticationChallenge
and correctly expose any methods, namelyprotectionSpace
. Even tryingchallenge.respond_to?(:protectionSpace)
instead produces the error:Objective-C stub for message `respond_to?:' type `@@:@@' not precompiled. Make sure you properly link with the framework or library that defines this message.
documentation on how to use
WebKit
: https://developer.apple.com/documentation/webkit/wknavigationdelegate/1455638-webview?language=objcThis doesn't seem to work: