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/IQKeyboardToolbarManagerKey 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:Configuration
Toolbar Customization
Navigation Control
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
- Separate Package - IQKeyboardToolbarManager is now independent
- Property Rename -
enableAutoToolbar→isEnabled - Configuration Changes -
IQToolbarConfiguration→IQKeyboardToolbarConfiguration - Class Renames -
IQPreviousNextView→IQDeepResponderContainerView
Before (v7)
After (v8)
API Reference
Core Properties
Navigation
Class Management
Related Resources
IQKeyboardReturnManager
Automatic return key handling
IQTextView
UITextView with placeholder support