iOSDropDown icon indicating copy to clipboard operation
iOSDropDown copied to clipboard

On click DropDown, The app stops working

Open Saurabh-Singh-Lodhi opened this issue 1 year ago • 0 comments

Until I click on this drop everything is working fine in the app, The moment i click on this DropDown, no drop will appear even the app stopped working, in the console there is no error even my app is not crashing it just stopped working (Clicks, events, Navigations)

Here is the code:

import iOSDropDown

@IBOutlet weak var txt_child: DropDown!

override func viewDidLoad() {
    super.viewDidLoad()

        txt_child.inputView = UIView()   //So that I will not show keyboard on click
        txt_child.optionArray = childNameArray //Child Array is an array of string
    
        txt_Child.didSelect { selectedText, index, id in
            print(selectedText)
        }
    
    }

Saurabh-Singh-Lodhi avatar Apr 05 '24 06:04 Saurabh-Singh-Lodhi