A Swift library that hides the iPhone X notch to create card-like app interfaces.
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.
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.
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.
A simple way to hide the notch on the iPhone X
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integration is extremely simple, requiring only a window replacement in AppDelegate, as shown in the README with clear code examples.
Offers control over masked edges via UIRectEdge and corner radius with .standard or .custom options, detailed in the customisation section.
Can limit effects to iPhone X only using the shouldShowBarsOnlyOniPhoneX property, preventing unwanted changes on other devices.
A small library with minimal dependencies, focused solely on notch hiding and card-like interfaces, making it quick to implement.
Explicitly violates Apple's Human Interface Guidelines, which discourage masking the notch, and the author warns this could lead to rejection.
Designed for iPhone X and Swift 4/iOS 8, with no indication of updates for newer iPhones or iOS versions, making it potentially obsolete.
The author admits it was made as a joke and encourages embracing the notch, suggesting it's not intended for serious, maintained projects.