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.

110 questions
17
votes
6 answers

How to Handle IQKeyboardManager Done button action in toolbar?

I am new in ios I work on iqkeyboardmanager and I want to access Done button action in IQKeyboardManager.
Jaydip
  • 1,836
  • 2
  • 14
  • 23
12
votes
3 answers

IQKeyboardManager has no member sharedManager

i am using IQKeyboardManager pod, for my swift 4.0 project. IQKeyboardManager.sharedManager().enable = true after pod update, the above code is not working.
CMS Signage
  • 2,755
  • 1
  • 26
  • 50
10
votes
4 answers

IQKeyboardManager not working when UITableView embedded in a container view

Currently, I am working with a container view with an embedded UITableView and am using the IQKeyboardManager CocoaPod to scroll the view so my UITextFields and UITextViews are not covered by the keyboard. I can successfully import IQkeyboardManager…
10
votes
1 answer

IQKeyboardManager with UIDatePicker

I've implemented the IQKeyboardManager framework to make the keyboard handle easier. It works very fine, except for one thing : There're some UItextField controls in my app which open a UIDatePicker in place of a default keyboard (e.g. number pad,…
Jonathan F.
  • 2,318
  • 4
  • 23
  • 43
8
votes
10 answers

How to hide Toolbar in IQKeyboardManager iOS Swift 3

I'm using the IQKeyboardManger library to scroll text fields when started typing using the keyboard, but I don't want to display the default toolbar from their library. Below is the code I've used. override func viewDidLoad() { …
Gijo Varghese
  • 8,506
  • 17
  • 61
  • 104
7
votes
5 answers

Trouble with next/previous buttons with IQKeyboardManager

I am working in a Swift project where I have several input fields. I made a custom view for each of the input fields because we use them a lot in the project. I added IQKeyboardManager to the project. It works really good, and the view gets up…
Ibrahim Yildirim
  • 2,548
  • 16
  • 25
6
votes
1 answer

IQKeyboardManager is not working in subviews

I have three UIViews in a single UIViewController. Each UIView contains a UITextField . But IQKeyboardManager is not showing next and previous arrows as every textfield is in a different view. Is there any solution for this?
Bindi
  • 576
  • 1
  • 7
  • 22
5
votes
5 answers

Done button invisible in IQkeyboardManager library

I have used IQKeyboardManager library in my app. i installed IQKeyboardManager via cocoapods. Done button is not showing up on each keyboard. that is invisible. here below my code that i have set in AppDelegate.swift…
imjaydeep
  • 848
  • 1
  • 11
  • 34
5
votes
1 answer

How to fix Method 'initialize()' defines Objective-C class method 'initialize', which is not permitted by Swift in Swift 4?

I am updating my app from Swift 3 to Swift 4 and after migration, there are a few errors. One of them is Method 'initialize()' defines Objective-C class method 'initialize', which is not permitted by Swift in IQToolbar of IQKeyboardManager, how to…
Varun Naharia
  • 4,836
  • 7
  • 42
  • 73
4
votes
1 answer

Disable IQKeyboardManager in ViewController in Swift

To disable IQKeyboardManager in a viewcontroller in Swift, you apparently need to get a reference to the instance and then disable it. However, I cannot figure out a way to reference it. I originally import the library in the appDelegate which is…
zztop
  • 521
  • 1
  • 6
  • 14
4
votes
4 answers

UITextVIew is not moving up while typing

I installed a pod file IQKeyboardManager in my project, but it is not working. Here is screenshot, Image 1: This is my one of view for creating a ticket. Subject and Message are text view, not text field. When I start typing in Subject…
Nikita Patil
  • 465
  • 4
  • 16
4
votes
2 answers

IQKeyboardManager - Shifting UITextView up too far

I'm using IQKeyboardManager to make keyboard management simple for a notes view controller I have (contains a large UITextView). Once the keyboard is active, however, the screen is shifted up unnecessarily. I'd like for the screen to stay how it is…
4
votes
2 answers

Keep a view always on top (Don't scroll with keyboard) in IQKeyboardManager

I'm using IQKeyboardManager to keep the text fields to go up after typing with the keyboard. I don't want to scroll to a specific view even when clicked on the text field. Below is the screenshot of the design. I want the 'header' to remain on…
Gijo Varghese
  • 8,506
  • 17
  • 61
  • 104
4
votes
1 answer

IQKeyboardManager hides keyboard when tapped on UITextField

I have two text fields. I am using this code in textFieldDidBeginEditing, but it's not dismissing the keyboard. -(void)textFieldDidBeginEditing:(UITextField *)textField { if(textField==textFieldOne) { } else if…
4
votes
5 answers

IQKeyboardManager not disabling

Trying to disable IQKeyboardManager for a particular ViewController or for the whole app, it's not working. My AppDelegate code: [[IQKeyboardManager sharedManager] setEnableAutoToolbar:NO]; [[IQKeyboardManager sharedManager]…
Dima Cheverda
  • 392
  • 1
  • 3
  • 10
1
2 3 4 5 6 7 8