# HeathWang/HWPanModal

HWPanModal presents controller from bottom and drag to dismiss, high customize. iOS13 default modalPresentationStyle. 任意形式的底部弹框动画；头条、知乎、抖音弹出评论效果；地图浮层，iOS13 present默认模态效果。

Repository: https://github.com/HeathWang/HWPanModal
Canonical: https://ross.abutalabs.com/products/hwpanmodal
Language: Objective-C
License: MIT
License Family: permissive
Topics: ios-ui, panmodal, gesture-control, presenter, sheet, animation, ios13, modalpresentationstyle, card-animation, popup, drag-drop, bottomsheet
Last push: 2026-04-01T08:58:22+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 2677, "days_push": 154, "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 1220, forks 202 (observed 2026-08-28T04:04:02.011801+00:00)

## What it is
HWPanModal is an iOS library for presenting any view controller from the bottom with drag-to-dismiss gestures, similar to the iOS 13 default modal presentation style. It supports highly customizable animations, blur backgrounds, keyboard handling, and both view-controller and content-view presentation.

## Use cases
- show a bottom sheet that can be dragged to dismiss
- recreate TikTok or Zhihu style comment popup panels
- present a floating map overlay panel
- implement iOS 13 style card modal presentation on older iOS versions
- add swipe-down or edge-swipe dismissal to a modal
- customize modal presentation animation and spring damping

## When to choose
- you need a customizable bottom sheet or pan-to-dismiss modal in an iOS app
- you want iOS 13 card-style presentation behavior backported to iOS 8+
- you need both UIViewController and plain content view presentation with gesture dismissal

## When to avoid
- you are building for Android or cross-platform frameworks without iOS native code
- you only need a simple alert or full-screen modal with no drag interaction
- your project is Swift-only and you prefer a pure Swift solution like the original PanModal

## Facets
- artifact type: library
- maturity: active
- function: ui-components, animation, mobile-framework
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: bottom-sheet, modal-presentation, pan-gesture, drag-to-dismiss, objective-c, cocoapods, ios13-modal, ios, mobile, swift

## Member repositories
- HeathWang/HWPanModal (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:02.011801+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-30T06:15:55.333697+00:00, confidence not recorded.
  - readme: https://github.com/HeathWang/HWPanModal (fetched 2026-08-28T04:04:02.011801+00:00, sha 352f46b4f5cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
