# IdleHandsApps/IHKeyboardAvoiding

IHKeyboardAvoiding is an elegant solution for keeping any UIView visible when the keyboard is being shown - no UIScrollView required!

Repository: https://github.com/IdleHandsApps/IHKeyboardAvoiding
Canonical: https://ross.abutalabs.com/products/ihkeyboardavoiding
Language: Swift
License: MIT
License Family: permissive
Last push: 2022-09-08T16:58:03+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4469, "days_push": 1455, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1403, forks 155 (observed 2026-08-28T04:04:37.760984+00:00)

## What it is
A Swift library for iOS that keeps any UIView visible above the keyboard without requiring a UIScrollView. It translates or animates constraints of a registered avoiding view when the keyboard appears and restores it when dismissed.

## Use cases
- keep text fields visible above the keyboard in iOS forms
- avoid keyboard overlap without using a scroll view
- move any UIView up when the keyboard is shown
- handle iPad split and undocked keyboards
- support third-party keyboards in an iOS app
- animate Auto Layout constraints when the keyboard appears

## When to choose
- you need keyboard avoidance for arbitrary UIViews, not just text fields
- you want a lightweight solution without embedding content in a UIScrollView
- your app uses Auto Layout or AutoresizingMask layouts
- you need iPad split/undocked keyboard support

## When to avoid
- you prefer scrollable content that users can pan manually
- you're building with SwiftUI rather than UIKit
- you need a heavily maintained library with frequent updates
- you need cross-platform (non-iOS) keyboard handling

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, mobile-framework
- domain: mobile-development, developer-tools
- platform: -
- tags: keyboard-avoiding, uikit, cocoapods, autolayout, no-scrollview, ios, swift, mobile

## Member repositories
- IdleHandsApps/IHKeyboardAvoiding (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:37.760984+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:53.464474+00:00, confidence not recorded.
  - readme: https://github.com/IdleHandsApps/IHKeyboardAvoiding (fetched 2026-08-28T04:04:37.760984+00:00, sha f72f64dc88b0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
