Adds stored inputAccessoryView to ArticleSearchBar

It should have been obvious that inputAccessoryView traverses the responder
chain
This commit is contained in:
Brian Sanders 2020-05-14 07:22:25 -04:00
parent 46ce824b98
commit 62d04e8881

View File

@ -36,14 +36,11 @@ import UIKit
weak var delegate: SearchBarDelegate?
private var _inputAccessoryView: UIView?
override var inputAccessoryView: UIView? {
get {
searchField.inputAccessoryView
}
set {
searchField.inputAccessoryView = newValue
}
get { _inputAccessoryView }
set { _inputAccessoryView = newValue }
}
}
override init(frame: CGRect) {