feat(ios): multi-window support (#10786)

This commit is contained in:
Nathan Walker
2025-11-03 17:01:43 -08:00
committed by GitHub
parent c8c741072f
commit 96733c2ecc
13 changed files with 1623 additions and 71 deletions

View File

@@ -16,6 +16,14 @@ global.__APPLE__ = true;
global.__COMMONJS__ = false;
global.WeakRef.prototype.get = global.WeakRef.prototype.deref;
global.NativeClass = function () {};
global.NSBundle = {
mainBundle: {
bundleIdentifier: 'test',
objectForInfoDictionaryKey(key: string) {
return true;
},
},
};
global.NSTimer = class NSTimer {};
global.NSObject = class NSObject {
static new() {
@@ -88,6 +96,7 @@ global.UIInterfaceOrientation = {
LandscapeLeft: 4,
LandscapeRight: 3,
};
global.UIWindowSceneDelegate = function () {};
const cgColors = { CGColor: 1 };
global.UIColor = {
alloc() {