Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS DropDown could not be resolved #110

Open
Rupesh267 opened this issue May 19, 2022 · 2 comments
Open

iOS DropDown could not be resolved #110

Rupesh267 opened this issue May 19, 2022 · 2 comments

Comments

@Rupesh267
Copy link

Rupesh267 commented May 19, 2022

Screenshot 2022-05-19 at 3 51 32 PM

Repository owner deleted a comment from KarimEbrahemAbdelaziz May 26, 2022
@jriosdev
Copy link
Owner

Try it now FIxed

@massimilianochiodi
Copy link

massimilianochiodi commented Oct 17, 2022

Hey use directly source but make this correction

if isSearchEnable && handleKeyboard{
            NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification, object: nil, queue: nil) { (notification) in
                if self.isFirstResponder{
                let userInfo:NSDictionary = notification.userInfo! as NSDictionary
                    let keyboardFrame:NSValue = userInfo[UIResponder.keyboardFrameEndUserInfoKey] as! NSValue
                let keyboardRectangle = keyboardFrame.cgRectValue
                self.keyboardHeight = keyboardRectangle.height
                    if !self.isSelected{
                        self.showList()
                    }
                }
              
            }
            NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification, object: nil, queue: nil) { (notification) in
                if self.isFirstResponder{
                self.keyboardHeight = 0
                }
            }
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants