TrollStore/TrollHelper/TSHAppDelegateNoScene.m

15 lines
516 B
Mathematica
Raw Permalink Normal View History

#import "TSHAppDelegateNoScene.h"
#import "TSHRootViewController.h"
2022-09-02 23:19:48 +08:00
@implementation TSHAppDelegateNoScene
2022-09-02 23:19:48 +08:00
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
_window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
_rootViewController = [[UINavigationController alloc] initWithRootViewController:[[TSHRootViewController alloc] init]];
2022-09-02 23:19:48 +08:00
_window.rootViewController = _rootViewController;
[_window makeKeyAndVisible];
return YES;
}
@end