Skip to content

iOS DropDown could not be resolved  #110

Open

Description

@Rupesh267

Screenshot 2022-05-19 at 3 51 32 PM

Activity

  1. Repository owner deleted a comment from KarimEbrahemAbdelaziz on May 26, 2022
  2. jriosdev commented on May 30, 2022

    @jriosdev
    Owner

    Try it now FIxed

  3. massimilianochiodi commented on Oct 17, 2022

    @massimilianochiodi

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions