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
4
votes
2 answers

iOS UITests NSLocalizedString Not Working

I'm trying to localize my UITests to work with other languages (currently using Snapshot to automate screenshots so that's why I need this to work). My main problem right now is with a Done button in IQKeyboardManager. In English I have the…
Charlie Fish
  • 18,491
  • 19
  • 86
  • 179
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…
Michael Pangburn
  • 261
  • 1
  • 10
4
votes
2 answers

iOS: how to change the order of UITextField to be focused using IQKeyboardManager

I have placed multiple UITextFields into an UIViewController in the storyboard. I am using IQKeyboardManager to scroll the UITextFields over the keyboard when they are focused. When I click the next button in the keyboard toolbar, another…
Colin Wang
  • 6,778
  • 5
  • 26
  • 42
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
  • 402
  • 1
  • 4
  • 10
3
votes
2 answers

IQKeyboard not showing next/previous options inside stackview

I am not able to see the next/previous button in toolbar using IQKeyboardManagerSwift when its inside stack view I have checked this link and added IQPreviousNextView as my view class. But still facing the same issue. Below is my storyboard…
Francis F
  • 3,157
  • 3
  • 41
  • 79
3
votes
1 answer

How to fix the position of navigation bar when using using IQKeyboardManager?

I am using "IQKeyboardManager" library, when to hit the text field then keyboard appears and all view push to top. Also, the navigation bar shows on top. How to fix the position of navigation bar.
3
votes
1 answer

IQkeyboardmanager issue with order

I am using IQKeyBoardManager in my project, when the first text field is selected and next is pressed it skips my email text field and goes to the text field after email. How can I arrange the order in which the IQKeyBoardManager moves from text…
hg56
  • 185
  • 1
  • 3
  • 16
3
votes
1 answer

Blank space coming between keyboard and UIVew in iOS

I have a tab bar controller-based application and I am using IQKeyboardManager to handle form-like stuff. Step 1: Tab bar controller with bottom a UITextView inside a UIView. Check Image 1. Step2: When I click on UITextView, the keyboard appears…
3
votes
0 answers

Scrolling in UIView using IQKeyboardManager but without using UIScrollView

I am stuck in a screen where? I have two UITextFields at top and one UIButton at bottom. I have used IQKeyboardManager library so it is possible to scroll the entire page (till the bottom button) with keyboard present on the screen with the help…
Rahul Bansal
  • 1,382
  • 15
  • 22
3
votes
2 answers

IQKeyboardManager issue when using navigation bar

I am using IQKeyboardManager for my iOS app. When I first launch the app, I tap on a button which unhides a view that contains a text field. On tapping the text field, the IQKeyboardManager shifts the whole view upwards so that the text field is not…
Amrit Sidhu
  • 1,870
  • 1
  • 18
  • 32
3
votes
2 answers

cocoapods: An unexpected version directory was encountered. How do I fix this?

I am running CocoaPods to add a dependency to my project. My pod file is located at Users/myUser/Desktop/project/project. It looks like this: source 'https://github.com/hackiftekhar/IQKeyboardManager.git' pod 'IQKeyboardManager' xcodeproj…
ChrisC
  • 892
  • 2
  • 12
  • 33
2
votes
0 answers

Error while installing Swift Package - unable to access /Package.swift

I recently added a Swift Package (IQKeyboardManager) from GitHub on to my xcworkspace Project. The Package.swift file is in the root folder of the repository. However, I got an error: /Package.swift cannot be accessed Unable to resolve the…
2
votes
2 answers

xcode 14 warning: Cannot access property 'Some_name' here in deinitializer; this is an error in Swift 6

When importing the IQKeyboardManager library in my project, after upgrading to XCode 14, I get these warnings in some of the imported classes: After making a copy of 'self', only non-isolated properties of 'self' can be accessed from a deinit. I am…
Vikas Saini
  • 483
  • 4
  • 16
2
votes
1 answer

IQKeyboardManager have an issue about scrolling offset when have multiple UITextfields in UIScrollView with Swift

Describe the bug When I have multiple textfields on same scrollview, ScrollView will have mistake scrolling offset after I transpose to each textfield. (You can see on demo video) To Reproduce Steps to reproduce the behavior: Start to select some…