Questions tagged [iqkeyboardmanager]

Use this tag when you have questions about the IQKeyboardManager library and not about the iOS keyboard in general.

IQKeyboardManager is an iOS library that allows you to prevent issues of keyboard sliding up and cover UITextField/UITextView without needing you to writing any code and much more.

118 questions
1
vote
1 answer

Black bar between keyboard and textField

I ran into a little problem. I am taking a course on iOS development, and I ran into a problem. I'm a perfectionist, and I want to bring applications to perfection, but I can't figure out which way to dig. There is a small black line between the…
TDMNS
  • 281
  • 1
  • 6
  • 19
1
vote
2 answers

Dismiss keyboard on tapping textfield

I have a textfield which can be edited. Below this textfield, I have another textfield on the tap of which I go to another screen. When I tap the 1st textfield, the keyboard comes up. But when I tap on the 2nd textfield the keyboard still remains…
1
vote
2 answers

How to resign keyboard automatically

I'm using IQKeyboardManager. In my UI, I have a textview and below that, a textfield. Now when I tap on thetextview, the keyboard comes up. And when I tap on the textfield that is below the textview, I bring up a datepicker. But the keyboard that…
bws
  • 13
  • 3
1
vote
0 answers

IQKeyboardManager: keep multiple fields above keyboard

I have a login form with 2 text fields. When you focus on the email field, the password field gets hidden by the keyboard. The return key does bring you to the password field, and tapping outside of a text field dismisses the keyboard, so it's not…
Kevin Renskers
  • 5,156
  • 4
  • 47
  • 95
1
vote
0 answers

How can I get user to input text in a text field inside a xib cell in swift

I have created a xib cell with two textfields. The textfield are connected as IBoutlets to the xib swift file. The xib cell is registered on the view controller as a Nib. When I run the app on a simulator I cannot get the keyboard to show up.…
1
vote
1 answer

PickerView Remove Placeholder label swift

Is there any way to remove Select string from top of the UIPickerView screen shot given below: Code: var pickerVWUserList = UIPickerView() //MARK:- Setup Picker View For TextField func setupForPickerViewForTxtFld() { …
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
1
vote
0 answers

IQKeyboardManager doesn’t work when using safeAreaLayoutGuide

I've got a button whose top anchor is: backButton.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 2).isActive = true And I've got a text view whose top anchor is: storyDescription.topAnchor.constraint(equalTo:…
Abdullah Ajmal
  • 431
  • 5
  • 17
1
vote
2 answers

How do i add doneaction and change the done text?

I am using IQKeyboardManager and i added custom action for the done button txtfield.addDoneOnKeyboard(withTarget: self, action: #selector(doneButtonClicked), titleText: "Next") IQKeyboardManager.shared().toolbarDoneBarButtonItemText =…
Zyfe3r
  • 653
  • 6
  • 24
1
vote
1 answer

IQKeyboardManager not bumping up UITextView with each new line of text

I'm using IQKeyboardManager in my project and it works great other than one issue. I have a UITextView where my users enter comments, when the keyboard is shown the text view moves up as it should, the problem is that if the user types multiple…
TJMac
  • 129
  • 1
  • 12
1
vote
3 answers

IQKeyboardManagerSwift: Next/Previous buttons invisible

I've posted this issue here, but am posting here too in case I have more luck. In the attached screenshots, the fields are laid out as so: Superview (class IQPreviousNextView) Scroll View UIStackView ("Content Stack") UIStackView ("Input…
user7987142
1
vote
1 answer

IQKeyboardManagerSwift toolbar not disabled in WebView

I am using IQKeyboardManagerSwift in my app. It is working perfectly in some ViewControllers I have to disable it's toolbar. According to documentation I should add viewcontrollers in which I want to disable toolbar in following…
Zia ur Rehman
  • 331
  • 1
  • 2
  • 20
1
vote
2 answers

Extra space issue at Keyboard hide show

Hope you are doing well! I have a used IQKeyboardManager library in a project and I have one screen in which i faced one issue of extra space see in pic. Issue link…
iOSDeV
  • 77
  • 10
1
vote
3 answers

IQKeyBoardManager : Hide keyboard for a specific textfield

In my app I have a form where the user fills out his/her information, the form has some textfields and amongst those is one where the user can select their country. This textfiled is a dropdown which when active displays a dropdown (tableview) with…
Tejas K
  • 682
  • 11
  • 28
1
vote
3 answers

Gap between toolbar & picker in?

I am facing a strange issue.I have created the UIPicker with below code.I have also used IQKeyboardManager for managing the Keyboard. let datepicker = UIPickerView() datepicker.frame = CGRect(x: 0, y: -10, width: UIScreen.main.bounds.width,…
TechChain
  • 8,404
  • 29
  • 103
  • 228
1
vote
1 answer

IQKeyboardManagerSwift pod install : How to implement Done button action in swift

I'm using the following library (which helps to manage multiple textfields) pod 'IQKeyboardManagerSwift', '~> 4.0' My question is how would I got about to implement done button action in our viewController ? I refer this link. In…
NiravS
  • 1,144
  • 1
  • 12
  • 24