iOSDropDown icon indicating copy to clipboard operation
iOSDropDown copied to clipboard

iOS DropDown could not be resolved

Open Rupesh267 opened this issue 3 years ago • 2 comments

Screenshot 2022-05-19 at 3 51 32 PM

Rupesh267 avatar May 19 '22 09:05 Rupesh267

Try it now FIxed

jriosdev avatar May 30 '22 05:05 jriosdev

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
                }
            }
        }

massimilianochiodi avatar Oct 17 '22 16:10 massimilianochiodi