laughsky
laughsky
This message should be output by the plugin "cordova-hot-code-push-plugin", modify the code in the file "scripts/lb/iosWKWebViewEngineSupport.js" in this plugin as follows: context.requireCordovaModule('xocde') ---> require('xocde') Before that, you may need to...
if use xcode 13,the following is better: ``` if (@available(iOS 16.0, *)) { #if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_15_5 SEL supportedInterfaceSelector = NSSelectorFromString(@"setNeedsUpdateOfSupportedInterfaceOrientations"); [self.viewController performSelector:supportedInterfaceSelector]; #endif } else { [UINavigationController attemptRotationToDeviceOrientation]; }...
if use xcode 13,the following is better: ``` if (@available(iOS 16.0, *)) { #if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_15_5 SEL supportedInterfaceSelector = NSSelectorFromString(@"setNeedsUpdateOfSupportedInterfaceOrientations"); [self.viewController performSelector:supportedInterfaceSelector]; #endif } else { [UINavigationController attemptRotationToDeviceOrientation]; }...