Skip to content

Commit e638f49

Browse files
author
@欧柏泉
committed
设置UI模板尺寸。
1 parent 553917f commit e638f49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MyLayout/AppDelegate.m

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#import "AppDelegate.h"
1010
#import "ViewController.h"
11+
#import "MyLayout.h"
1112

1213
@interface AppDelegate ()
1314

@@ -19,7 +20,8 @@ @implementation AppDelegate
1920
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2021
// Override point for customization after application launch.
2122

22-
23+
//this place add the ui template size dime
24+
[MyDimeScale setUITemplateSize:CGSizeMake(375, 667)];
2325

2426
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
2527
self.window.backgroundColor = [UIColor whiteColor];

0 commit comments

Comments
 (0)