美文网首页
xcode11适配低于ios13方法和删除main.Strory

xcode11适配低于ios13方法和删除main.Strory

作者: guoguojianshu | 来源:发表于2020-03-26 17:59 被阅读0次

1.删除SceneDelegate
2.打开 info.plist, 移除 Application Scene Manifest 这一项
3.删除appdegate中的文件

#pragma mark - UISceneSession lifecycle


- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
    // Called when a new scene session is being created.
    // Use this method to select a configuration to create the new scene with.
    return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
}


- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
    // Called when the user discards a scene session.
    // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
    // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}

相关文章

  • xcode11适配低于ios13方法和删除main.Strory

    1.删除SceneDelegate2.打开 info.plist, 移除 Application Scene Ma...

  • iOS13 问题总结

    此文主要针对Xcode11 和iOS13系统在适配过程中遇到问题和解决方法,以下方法仅供参考。 由于本人比较懒,内...

  • iOS之iOS13适配总结

    前言 随便iOS开发开始更新变成Xcode11,适配iOS13变成了现在的当务之急。 新特性适配 一、新添加的Da...

  • 带NavigationBar和TabBar的iOS应用Demo

    运行环境:iOS13 编写环境:Xcode11 特性:删除Main.storyboard 保留SceneDeleg...

  • CocoPods更换Ruby源及升级版本

    升级xcode11,项目适配iOS13,MJExtension报错,github上提示需要更新最新版本,使用终端 ...

  • xcode11创建新项目

    1,如果项目不需要适配iOS13以下的机型。xcode11之后,入口放在了SceneDelegate里面。直接使用...

  • iOS13适配更新总结

    前言: iOS13的API的变动和适配问题,我从新特性适配、API 适配、方法弃用、工程适配、SDK 适配、其他问...

  • xcode11遇到的坑

    苹果出了iOS13,为了适配升级了xcode11,但是升级成功后模拟器运行就报错: Library not fou...

  • Xcode11探索之旅

    在更新到Xcode11、iOS13之后,对原有项目进行适配各种操作。最近需求一个全新的APP,才发现Xcode11...

  • iOS 13 SceneDelegate适配(Xcode 11,

    文章目录 最低适配的系统改到iOS13以下后 解决方案一:删除SceneDelegate,还原到iOS13以前的版...

网友评论

      本文标题:xcode11适配低于ios13方法和删除main.Strory

      本文链接:https://www.haomeiwen.com/subject/fngcuhtx.html