3 Star 0 Fork 3

反向抽烟李丰田/Git-Gitee

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
小浣熊饼干 2.90 KB
一键复制 编辑 原始数据 按行查看 历史
反向抽烟李丰田 提交于 2021-04-20 16:41 . update 小浣熊饼干.
阿当局不哈了
小浣熊饼干
//
// AppDelegate.m
// weathercast
//
// Created by 刘鹏 on 2019/6/26.
// Copyright © 2019 刘鹏. All rights reserved.
//
#import "AppDelegate.h"
#import "ViewController.h"
我在这里该一行x h called
@interface AppDelegate ()
@end
@implementation AppDelegate
#pragma mark - Overridden (Life Cycle)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
//创建ViewController
ViewController* viewController = [[ViewController alloc] init];
// 创建UINavigationController
UINavigationController* navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
// 设置导航栏样式
navigationController.navigationBar.barStyle = UIBarStyleDefault;
// 隐藏navigation控制器的Tool Bar 工具栏,默认YES
[navigationController setToolbarHidden:NO];
// 设置UINavigationController为rootViewController
self.window.rootViewController = navigationController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
宣宣
@end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/L821732264/git-gitee.git
git@gitee.com:L821732264/git-gitee.git
L821732264
git-gitee
Git-Gitee
master

搜索帮助