V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kiral
V2EX  ›  iPhone

iOS 13 杀后台是因为 Life Cycle 的管理不一样了?

  •  
  •   kiral · 2019-11-03 17:31:05 +08:00 · 9127 次点击
    这是一个创建于 1852 天前的主题,其中的信息可能已经有所发展或是发生改变。

    When your app’s state changes, UIKit notifies you by calling methods of the appropriate delegate object:

    In iOS 13 and later, use UISceneDelegate objects to respond to life-cycle events in a scene-based app.

    In iOS 12 and earlier, use the UIApplicationDelegate object to respond to life-cycle events.

    Note:

    If you enable scene support in your app, iOS always uses your scene delegates in iOS 13 and later. In iOS 12 and earlier, the system uses your app delegate.

    回调不一样了,所以么有对应处理,就变成 app 都重新启动那样子了? 其实就是 iOS 13 的适配问题?

    024b99c5-4ab6-4ee0-bb41-6e6426ec6a64.png

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3560 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:12 · PVG 19:12 · LAX 03:12 · JFK 06:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.