We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c96f49c + 85c8d29 commit 2806a84Copy full SHA for 2806a84
1 file changed
INSTALLATION.md
@@ -25,14 +25,14 @@ github "shinydevelopment/SimulatorStatusMagic"
25
26
5. Add code referencing `SimulatorStatusMagiciOS` inside `#if canImport ... #endif` blocks in your `AppDelegate`:
27
```swift
28
-#if canImport(SimulatorStatusMagiciOS)
+#if DEBUG
29
import SimulatorStatusMagiciOS
30
#endif
31
32
@UIApplicationMain
33
final class AppDelegate: UIResponder, UIApplicationDelegate {
34
func application(_ application: UIApplication, didFinishLaunchingWithOptions options: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool {
35
- #if canImport(SimulatorStatusMagiciOS)
+ #if DEBUG
36
SDStatusBarManager.sharedInstance()?.enableOverrides()
37
38
}
0 commit comments