Skip to content

IQKeyboardToolbar height defaults to 58pt on iOS 26 even when UIDesignRequiresCompatibility is TRUE #2177

@juanjoguevara

Description

@juanjoguevara

I have updated IQKeyboardManager and IQKeyboardToolbar to the latest versions. My app currently uses UIDesignRequiresCompatibility = TRUE in the Info.plist to temporarily opt out of the new Liquid Glass design.

However, with the latest version of IQKeyboardToolbar (1.1.3), the toolbar height is forced to 58pt (the iOS 18/26 style) instead of the traditional 44pt. It seems the library only uses #available(iOS 26.0, *) to determine the height.

Suggested Workaround/Fix:
The library should also evaluate the compatibility flag to support both Liquid Glass and the legacy design on iOS 26. For example:

let requiresCompatibility = Bundle.main.object(forInfoDictionaryKey: "UIDesignRequiresCompatibility") as? Bool ?? false
let toolbarHeight: CGFloat = (iOS26 && !requiresCompatibility) ? 58 : 44

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions