Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. IQKeyboardManager

IQKeyboardManager

MITSwiftv6.5.0

A drop-in iOS library that automatically prevents the keyboard from covering UITextField/UITextView without writing any code.

GitHubGitHub
16.6k stars2.5k forks0 contributors

What is IQKeyboardManager?

IQKeyboardManager is a universal iOS library that automatically prevents the keyboard from obscuring text input fields (UITextField/UITextView) in iOS apps. It solves the common problem of manual scroll view management by handling keyboard interactions seamlessly with minimal developer setup. The library works across all interface orientations and supports UIScrollView, UITableView, and UICollectionView without requiring subclassing.

Target Audience

iOS app developers building UIKit-based applications who need to handle keyboard interactions efficiently, particularly those working on projects with multiple text input fields and complex scrollable interfaces.

Value Proposition

Developers choose IQKeyboardManager because it offers zero-code integration with automatic handling of edge cases, eliminating the need for manual scroll view adjustments or custom subclasses. Its modular architecture allows including only needed features via subspecs, providing a lightweight, drop-in solution that works directly with standard UIKit components.

Overview

Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.

Use Cases

Best For

  • iOS apps with forms or multiple text input fields that require automatic keyboard avoidance.
  • Projects using UIScrollView, UITableView, or UICollectionView where manual keyboard management is cumbersome.
  • Developers seeking a drop-in solution with minimal setup—enabled with just one line of code.
  • Apps needing customizable keyboard toolbars with Previous/Next/Done buttons via the IQKeyboardToolbarManager subspec.
  • Implementing tap-to-resign keyboard functionality without writing custom gesture recognizers.
  • Applications requiring support for all interface orientations and configurable keyboard distance from text fields.

Not Ideal For

  • Developers building third-party SDKs or frameworks, as the library warns against bundling it to avoid conflicts.
  • Apps primarily using SwiftUI, since it's designed exclusively for UIKit-based interfaces.
  • Projects requiring fine-grained, manual control over keyboard behavior for highly custom interactions.

Pros & Cons

Pros

Zero-Code Integration

Enable with a single line in AppDelegate and it automatically handles keyboard avoidance for all text fields, as shown in the minimal setup example.

Automatic Scroll Handling

Manages UIScrollView, UITableView, and UICollectionView without additional configuration, eliminating manual scroll view adjustments.

Modular Architecture

Allows including only needed features via subspecs like toolbar or placeholder support, reducing bundle size and complexity.

Comprehensive Edge Cases

Handles all interface orientations and configurable keyboard distance, covering common pitfalls automatically.

Cons

Third-Party Library Conflicts

The README warns that conflicts with other libraries are the developer's responsibility to manage, requiring manual enable/disable in certain contexts.

No Source Code Installation

Since version 7.2.0, source code installation is not supported due to dependency issues, limiting integration options for some projects.

Breaking Changes

Multiple migration guides indicate frequent breaking changes between major versions, which can complicate updates.

Frequently Asked Questions

Quick Stats

Stars16,622
Forks2,450
Contributors0
Open Issues5
Last commit1 month ago
CreatedSince 2013

Tags

#ios#text-input#objective-c#swift-package-manager#keyboard#cocoapods#swift#swift-library#ui-automation#xcode#carthage#uikit

Built With

i
iOS
O
Objective-C
S
Swift

Included in

iOS51.7kSwift26.0k
Auto-fetched 1 day ago

Related Projects

TPKeyboardAvoidingTPKeyboardAvoiding

A drop-in universal solution for moving text fields out of the way of the keyboard in iOS

Stars5,802
Forks917
Last commit2 years ago
KeyboardShortcutsKeyboardShortcuts

⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes

Stars2,602
Forks242
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub