diff --git a/ios-template/App/Podfile b/ios-template/App/Podfile index e9760417ee..2d0f42d683 100644 --- a/ios-template/App/Podfile +++ b/ios-template/App/Podfile @@ -1,7 +1,7 @@ platform :ios, '11.0' use_frameworks! -# workaround to avoid Xcode 10 caching of Pods that requires +# workaround to avoid Xcode caching of Pods that requires # Product -> Clean Build Folder after new Cordova plugins installed # Requires CocoaPods 1.6 or newer install! 'cocoapods', :disable_input_output_paths => true diff --git a/ios/Capacitor/Capacitor/CAPBridgeViewController.swift b/ios/Capacitor/Capacitor/CAPBridgeViewController.swift index 85fce61486..50bb6399c9 100644 --- a/ios/Capacitor/Capacitor/CAPBridgeViewController.swift +++ b/ios/Capacitor/Capacitor/CAPBridgeViewController.swift @@ -201,8 +201,9 @@ public class CAPBridgeViewController: UIViewController, CAPBridgeDelegate, WKScr if let statusBarStyle = plist["UIStatusBarStyle"] as? String { if (statusBarStyle == "UIStatusBarStyleDarkContent") { if #available(iOS 13.0, *) { - // TODO - use .darkContent instead of rawValue once Xcode 10 support is dropped - self.statusBarStyle = UIStatusBarStyle.init(rawValue: 3) ?? .default + self.statusBarStyle = .darkContent + } else { + self.statusBarStyle = .default } } else if (statusBarStyle != "UIStatusBarStyleDefault") { self.statusBarStyle = .lightContent diff --git a/ios/Capacitor/Capacitor/Plugins/StatusBar.swift b/ios/Capacitor/Capacitor/Plugins/StatusBar.swift index 4b60bdbafc..f13fb98c2e 100644 --- a/ios/Capacitor/Capacitor/Plugins/StatusBar.swift +++ b/ios/Capacitor/Capacitor/Plugins/StatusBar.swift @@ -21,8 +21,7 @@ public class CAPStatusBarPlugin: CAPPlugin { bridge.setStatusBarStyle(.lightContent) } else if style == "LIGHT" { if #available(iOS 13.0, *) { - // TODO - use .darkContent instead of rawValue once Xcode 10 support is dropped - bridge.setStatusBarStyle(UIStatusBarStyle.init(rawValue: 3) ?? .default) + bridge.setStatusBarStyle(.darkContent) } else { bridge.setStatusBarStyle(.default) } diff --git a/site/docs-md/basics/opening-native-projects.md b/site/docs-md/basics/opening-native-projects.md index 57245e03d8..bfc8f300ac 100644 --- a/site/docs-md/basics/opening-native-projects.md +++ b/site/docs-md/basics/opening-native-projects.md @@ -11,7 +11,7 @@ contributors:
Capacitor uses the native IDE for each platform in order to provide required configuration, and to build, test, and deploy apps.
-For iOS development, that means you must have Xcode 10 or above installed. For Android, Android Studio 3 or above.
+For iOS development, that means you must have Xcode 11 or above installed. For Android, Android Studio 3 or above.
Both IDEs can be opened manually or using the npx cap open
command: