D22Bar


项目主页    by: insidegui     Star:    Fork:     

If you like what I do and want to support me, you can send Bitcoin to 3DH9B42m6k2A89hy1Diz3Vr3cpDNQTQCbJ or purchase a copy of BrowserFreedom.

Don't forget to follow me on Twitter.

D22Bar

Test your app with the new iPhone status bar.

hero

Disclaimers

  • The status bar style will only work with the iOS 11 GM or later, it will not work with previous betas of iOS. If you don't have the GM installed, there's no way to install it currently since Apple stopped signing the leaked builds.
  • The metrics (corner radius and notch shape) might not be accurate, this is just an emulation
  • Only tested on an iPhone 7 Plus, I don't know how it looks on other devices
  • This will not work on the Simulator

How to use

Just link your app with D22Bar.framework. That's all.

You can embed the framework directly or use Carthage to install it.

Embed directly:

Add D22Bar.xcodeproj and add D22Bar.framework to the Embedded Binaries section in your target settings.

embed

Carthage:

github "insidegui/D22Bar"

相关文章