Skip to main content

Overview

As of version 8.0, IQKeyboardToolbarManager is now an independent package, separated from the main IQKeyboardManager library. It provides automatic toolbar management with Previous/Next/Done buttons above the keyboard.
IQKeyboardToolbarManager was previously part of IQKeyboardManager core but has been extracted into its own package for better modularity and flexibility.

GitHub Repository

hackiftekhar/IQKeyboardToolbarManager

Key Features

  • Automatic Toolbar Creation - Automatically adds Previous/Next/Done buttons above the keyboard
  • Navigation Between Fields - Seamlessly navigate between text input fields
  • Customizable Toolbar - Configure toolbar appearance, buttons, and behavior
  • Deep Responder Support - Navigate across text fields in different container views
  • Class-Level Control - Enable/disable toolbar for specific view controllers

Installation

CocoaPods

Swift Package Manager

Carthage

Basic Usage

Standalone Usage

When using IQKeyboardToolbarManager as an independent package:

Integration with IQKeyboardManager

If you’re using IQKeyboardManager, you can enable the toolbar through the deprecated compatibility layer:
The IQKeyboardManager.shared.enableAutoToolbar property is deprecated. For new projects, use IQKeyboardToolbarManager.shared.isEnabled directly.

Configuration

Toolbar Customization

Class-Level Control

Deep Responder Containers

Allow navigation between text fields in custom container views:

Per-Field Customization

Ignore Previous/Next Navigation

Migration from v7

See the Migration Guide for detailed migration instructions from IQKeyboardManager v7 to v8.

Key Changes

  1. Separate Package - IQKeyboardToolbarManager is now independent
  2. Property Rename - enableAutoToolbar → isEnabled
  3. Configuration Changes - IQToolbarConfiguration → IQKeyboardToolbarConfiguration
  4. Class Renames - IQPreviousNextView → IQDeepResponderContainerView

Before (v7)

After (v8)

API Reference

Core Properties

Class Management

IQKeyboardReturnManager

Automatic return key handling

IQTextView

UITextView with placeholder support

See Also