This commit is contained in:
2025-10-24 14:35:25 +08:00
parent e23ef2f814
commit 2d5c056b82
3 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
//
#import <UIKit/UIKit.h>
#import "ConfigData.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>

View File

@@ -71,7 +71,7 @@
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) {
}];
[dataTask resume];
return YES;
}

View File

@@ -54,6 +54,7 @@
wkWebConfig.preferences.javaScriptCanOpenWindowsAutomatically = YES;
_wkUController = [[WKUserContentController alloc] init];
wkWebConfig.userContentController = _wkUController;
UIStatusBarManager *statusBarManager = [UIApplication sharedApplication].windows.lastObject.windowScene.statusBarManager;