Hair Powder for iPhoneX "M" Shape pattern baldness design. I hate iPhone X design. It can be rejected if you use this open source(https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/). Use this If you don't care Guidelines
Source
Special Thank to https://github.com/jhl1214
Add pod 'HairPowder'
to your Podfile.
##Usage
You also can put next code to info.plist directly
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
You Only have to is putting import and spread() function.
import UIKit
import HairPowder
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
HairPowder.instance.spread()
return true
}
}
HairPowder is under MIT license. See the LICENSE file for more info.
오진성 ([email protected])