We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0dc33 commit af7086fCopy full SHA for af7086f
Sources/ResponderChain/ResponderChain.swift
@@ -72,6 +72,12 @@ extension UIView {
72
73
@objc open func resignFirstResponder_ResponderChain() -> Bool {
74
Self._firstResponderPublisher.send(nil)
75
+ guard Self.instancesRespond(to: #selector(UIView.resignFirstResponder_ResponderChain)) else {
76
+ // UIAlertController somehow calls this but I can't figure out a
77
+ // way to call an original resignFirstResponder. I haven't found
78
+ // anything broken with just returning false here.
79
+ return false
80
+ }
81
return resignFirstResponder_ResponderChain()
82
}
83
0 commit comments