Hide home indicator

This commit is contained in:
Arkadiusz Fal
2022-06-22 00:18:16 +02:00
parent 13208a4444
commit c0f395b2df
6 changed files with 48 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool { // swiftlint:disable:this discouraged_optional_collection
Self.instance = self
#if os(iOS)
UIViewController.swizzleHomeIndicatorProperty()
#endif
return true
}
}