     fileprivate var provider: RxMoyaProvider<USIGNormalizadorAPI>!
     fileprivate var onDismissCallback: ((UIViewController) -> Void)?
     fileprivate var searchController: UISearchController!
-    fileprivate var keyboardHeight: CGFloat?
     fileprivate var results: [USIGNormalizadorAddress] = []
     fileprivate var state: SearchState = .empty
     fileprivate let disposeBag: DisposeBag = DisposeBag()

    func close() {
        if self.navigationController?.viewControllers[0] === self {
            searchController.dismiss(animated: true) { [unowned self] in
                self.dismiss(animated: true) { [unowned self] in
                    self.onDismissCallback?(self)
                }
            }


    private func setInitialValue() {
        if let initialValue = edit, initialValue.trimmingCharacters(in: whitespace).characters.count > 0 {
            searchController.searchBar.textField?.text = initialValue.replacingOccurrences(of: addressSufix, with: "")
        }
    }
