refact:change field name from scheme to source
This commit is contained in:
@@ -17,7 +17,7 @@ @implementation AppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||
NSString *bundleName = @"__$__";
|
||||
DoricViewController *doricViewController = [[DoricViewController alloc] initWithScheme:[NSString stringWithFormat:@"assets://src/%@.js", bundleName]
|
||||
DoricViewController *doricViewController = [[DoricViewController alloc] initWithSource:[NSString stringWithFormat:@"assets://src/%@.js", bundleName]
|
||||
alias:bundleName
|
||||
extra:@""];
|
||||
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
||||
|
@@ -8,7 +8,7 @@ @implementation SceneDelegate
|
||||
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions {
|
||||
UIWindowScene *windowScene = (UIWindowScene *) scene;
|
||||
NSString *bundleName = @"__$__";
|
||||
DoricViewController *doricViewController = [[DoricViewController alloc] initWithScheme:[NSString stringWithFormat:@"assets://src/%@.js", bundleName]
|
||||
DoricViewController *doricViewController = [[DoricViewController alloc] initWithSource:[NSString stringWithFormat:@"assets://src/%@.js", bundleName]
|
||||
alias:bundleName
|
||||
extra:@""];
|
||||
doricViewController.view.backgroundColor = [UIColor whiteColor];
|
||||
|
Reference in New Issue
Block a user