LENZAppDelegate.m 762 B

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