LENZAppDelegate.m 793 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // AppDelegate.m
  3. // Demo
  4. //
  5. // Created by lr on 2023/2/1.
  6. //
  7. #import "LENZAppDelegate.h"
  8. #import "LENZViewController.h"
  9. @interface LENZAppDelegate ()
  10. @end
  11. @implementation LENZAppDelegate
  12. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  13. // Override point for customization after application launch.
  14. self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
  15. self.window.backgroundColor = [UIColor whiteColor];
  16. LENZViewController *vc = [[LENZViewController alloc]init];
  17. UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:vc];
  18. self.window.rootViewController = nav;
  19. [self.window makeKeyAndVisible];
  20. return YES;
  21. }
  22. @end