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
20
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.
Berlin
  • 2,115
  • 2
  • 16
  • 28
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.
Sheshnath
  • 3,293
  • 1
  • 32
  • 60
10
votes
11 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
  • 11,264
  • 22
  • 73
  • 122
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,357
  • 4
  • 26
  • 44
8
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,731
  • 2
  • 19
  • 31
7
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
  • 5,318
  • 10
  • 50
  • 84
6
votes
2 answers

Swift 3 / IQKeyboardManager : How do you change background color of toolbar , done color, arrow colors?

How do you change background color of toolbar , done color, arrow colors, and hide the text title on the toolbar in the middle?
Brett Taylor
  • 125
  • 2
  • 9
6
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
  • 878
  • 1
  • 11
  • 34
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?
Bindiya
  • 614
  • 2
  • 9
  • 23
5
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
  • 701
  • 1
  • 7
  • 20
5
votes
3 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
  • 11,264
  • 22
  • 73
  • 122
4
votes
1 answer

IQKeyboardManagerSwift 'shared' is unavailable: Use view controller based solutions where appropriate instead

Installing IQKeyboardManagerSwift via CocoaPods works, but when I build my project I get multiple build time errors saying the following: 'shared' is unavailable: Use view controller based solutions where appropriate instead. Why is this…
Ben Botvinick
  • 2,837
  • 3
  • 16
  • 41
4
votes
1 answer

Not showing next/previous button using IQKeyboardManagerSwift

I am using IQKeyboardManagerSwift in my application. I can not see next/previous button to toolbar. I attached screen shots of my aliments. IQKeyboardManager.shared.enable = true IQKeyboardManager.shared.enableAutoToolbar =…
Kamlesh Shingarakhiya
  • 2,757
  • 2
  • 16
  • 34
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
  • 674
  • 1
  • 7
  • 17
1
2 3 4 5 6 7 8