Bringing the home button back to iPhone X
Switch branches/tags
Nothing to show
Clone or download
Latest commit 501a44a Apr 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example Updated example project metadata Mar 31, 2018
HomeButton Moved images to their proper location Mar 31, 2018
Resources Metadata updates Mar 31, 2018
.gitignore Initial commit Mar 16, 2018
HomeButton.podspec Update HomeButton.podspec Apr 1, 2018
LICENSE Moved subfolder into parent Mar 16, 2018
README.md Badge updates Mar 31, 2018

README.md

Home Button Title Graphic

CI Status Version License Platform iOS Version Xcode Version GitHub top language Code Coverage Tests Passing Code Quality Performance Swift 4.1 Open Source Documentation Demo Gif Haptics Sounds Design Animation Frames Dependencies Gitter Chat App Store Ready Rating Released Badges Star this repo

When Apple released the iPhone X, they removed iPhone's most iconic feature—the home button.

HomeButton is a CocoaPod that brings back the home button. Best part: it actually works.

A Demo of the Working Home Button

Usage

HomeButton can be added to your poject with zero lines of code. Yes, that's right—no code needed. Simply link the framework in your app, and the home button adds itself.

Customization

HomeButton supports four styles: classic, classicWhite, modern, and modernWhite.

Home Button Style Options

The default style is classic. To change the style, add the following line:

HomeButton.style = .modern

This can be placed anywhere in your app, but it probably makes the most sense in your AppDelegate's application(_:didFinishLaunchingWithOptions:) function.

Installation via CocoaPods

HomeButton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'HomeButton'

Frequently Asked Questions

Will this cause my app to be rejected from the App Store?

It explicity breaks guideline 5.2.1 due to usage of private API's and probably 5.2.5 as well for mimicking system UI. So honestly it depends on the mood of the reviewer.

Is this a joke?

Because satire is sometimes lost over the internet—yes, this is a joke. It was created as a fun April Fool's project. However, we think it's actually a decent re-creation of the home button, and is valuable as a UI/UX experiment.

Authors

Nathan Gitter and Ian McDowell

License

MIT. See the LICENSE file for more info.