iosswiftuipickerviewuipicker

Hide Picker View Hide Left Swift


I am trying to hide left up and down arrow. Is there any way to hide left arrow in picker view

Screen shot

Code:-

let picker = UIPickerView()
picker.tag = tag
picker.delegate = self
picker.dataSource = self
txtField.inputView = picker

Solution

  • I m Using IQKeyboardManager So below line used for hide the down and up arrow

    IQKeyboardManager.shared.previousNextDisplayMode = .alwaysHide