Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. NotchKit

NotchKit

MITSwift0.4.2

A Swift library that hides the iPhone X notch to create card-like app interfaces.

GitHubGitHub
1.8k stars61 forks0 contributors

What is NotchKit?

NotchKit is a Swift library for iOS that hides the iPhone X notch and home indicator to create card-like app interfaces. It provides developers with a simple way to mask the status bar area and bottom home indicator, giving apps a distinctive floating appearance against the OLED background. The library was created as an experimental tool to explore alternative interface designs for the iPhone X.

Target Audience

iOS developers working on iPhone X apps who want to experiment with alternative interface designs or create card-like visual effects. This is particularly relevant for developers considering different approaches to handling the notch before adopting Apple's official guidelines.

Value Proposition

NotchKit offers a simple, lightweight solution for developers who want to quickly experiment with hiding the iPhone X notch and creating card-style interfaces. Unlike manual implementations, it provides a ready-to-use window class with customizable options for edge masking, corner radius, and device targeting.

Overview

A simple way to hide the notch on the iPhone X

Use Cases

Best For

  • Creating card-like floating interfaces for iPhone X apps
  • Experimenting with alternative notch-handling approaches
  • Quick prototyping of different iPhone X UI concepts
  • Educational projects exploring iOS window management
  • Apps targeting specific visual aesthetics with masked edges
  • Testing user reactions to non-standard iPhone X interfaces

Not Ideal For

  • Production apps aiming for App Store approval without rejection risk
  • Projects targeting newer iPhone models beyond iPhone X (e.g., iPhone 11-15)
  • Apps requiring strict adherence to Apple's Human Interface Guidelines
  • Teams needing long-term support and updates for latest iOS versions

Pros & Cons

Pros

Easy Integration

Integration is extremely simple, requiring only a window replacement in AppDelegate, as shown in the README with clear code examples.

Customizable Masking

Offers control over masked edges via UIRectEdge and corner radius with .standard or .custom options, detailed in the customisation section.

Device-Specific Targeting

Can limit effects to iPhone X only using the shouldShowBarsOnlyOniPhoneX property, preventing unwanted changes on other devices.

Lightweight and Focused

A small library with minimal dependencies, focused solely on notch hiding and card-like interfaces, making it quick to implement.

Cons

App Store Rejection Risk

Explicitly violates Apple's Human Interface Guidelines, which discourage masking the notch, and the author warns this could lead to rejection.

Limited and Outdated Support

Designed for iPhone X and Swift 4/iOS 8, with no indication of updates for newer iPhones or iOS versions, making it potentially obsolete.

Experimental and Unmaintained

The author admits it was made as a joke and encourages embracing the notch, suggesting it's not intended for serious, maintained projects.

Frequently Asked Questions

Quick Stats

Stars1,796
Forks61
Contributors0
Open Issues0
Last commit6 years ago
CreatedSince 2017

Tags

#ios#iphone-x#ui-customization#status-bar#window-management#cocoapods#swift#carthage#card-ui

Built With

i
iOS
S
Swift

Included in

iOS51.7k
Auto-fetched 7 hours ago

Related Projects

MaterialMaterial

A UI/UX framework for creating beautiful applications.

Stars12,005
Forks1,257
Last commit4 years ago
FSPagerViewFSPagerView

FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.

Stars7,366
Forks1,072
Last commit1 year ago
Material ComponentsMaterial Components

[In maintenance mode] Modular and customizable Material Design UI components for iOS

Stars4,769
Forks962
Last commit1 year ago
RKNotificationHubRKNotificationHub

Make any UIView a full fledged notification center

Stars3,041
Forks321
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub