当前位置:网站首页>App lifecycle and appledelegate, scenedelegate
App lifecycle and appledelegate, scenedelegate
2022-07-25 09:53:00 【yueliangmua】
App Call to order
AppDelegate
didFinishLaunchingWithOptions
App Call after startup didFinishLaunchingWithOptions, Will usually SDK This kind of large function package is put inside ( For example, the map of Gaud SDK).
App First boot , Slide up and open again , as well as xcode Rerun the method .
configurationForConnecting
APP This method will be called during some configuration after startup , Call when a window is about to be generated , And return to the configuration of a window , This configuration will connect to info.plist in .
SceneDelegate
willConnectTo
If you use storyboard Then the visual window is automatically created , In this method, you can set app home page vc
sceneWillForeground
app Call this method when you are about to return to the foreground
sceneDidEnterBackground
app The method has been called in the background
sceneDidBecomeActive
Backstage to front desk or open app, Call this method when it has been activated
sceneDidDisconnect
close app Or call this method shortly after encountering the background , You can add the operation of manually releasing resources in the method .
didDiscardSceneSession
close app call
ViewController Life cycle function
viewWillAppear
The page is about to appear, call this method
viewDidAppear
The page has appeared to call this method
viewWillDisappear
The page is about to disappear, call this method
viewDidDisappear
Call this method when the page has disappeared
The above life cycle function is also called hook function
The remaining methods are not repeated here .
边栏推荐
- Android & kotlin: puzzle solution
- 目标检测与分割之MaskRCNN代码结构流程全面梳理+总结
- ARMv8通用定时器简介
- CCF 201509-2 日期计算
- 1094--谷歌的招聘
- 基于PackNet的演进——丰田研究院(TRI)深度估计文章盘点(下)
- First knowledge of opencv4.x --- image histogram matching
- 无向连通图邻接表的创建输出广度深度遍历
- 关于MLOps中的数据工程,你一定要知道的.......
- Principle analysis of self supervised depth estimation of fish eye image and interpretation of omnidet core code
猜你喜欢

T5论文总结

Get to know opencv4.x for the first time --- add Gaussian noise to the image

First knowledge of opencv4.x --- image histogram matching

服务器cuda toolkit多版本切换

How to install pytorch—— A most simple and effective method!

鱼眼图像自监督深度估计原理分析和Omnidet核心代码解读

如何安装pytorch?—— 一种最简单有效的方法!

单目深度估计自监督模型Featdepth解读(上)——论文理解和核心源码分析

CUDA explanation - why GPU is used in deep learning

低功耗和UPF介绍
随机推荐
【Tensorflow2安装】Tensorflow2.3-CPU安装避坑指南!!!
Segmentation based deep learning approach for surface defect detection
基于PackNet的演进——丰田研究院(TRI)深度估计文章盘点(下)
多通道振弦、温度、模拟传感信号采集仪数据查看和参数修改
Flutter rive multi state example
TensorFlow raw_rnn - 实现seq2seq模式中将上一时刻的输出作为下一时刻的输入
ADC简介
*7-2 CCF 2015-09-2 date calculation
括号匹配问题
CCF 201503-3 节日
【深度学习】卷积神经网络
AI模型风险评估 第1部分:动机
[deep learning] convolutional neural network
鱼眼图像自监督深度估计原理分析和Omnidet核心代码解读
Hyperautomation for the enhancement of automation in industries 论文翻译
Binary Cross Entropy真的适合多标签分类吗?
如何安装pytorch?—— 一种最简单有效的方法!
CDA Level1知识点总结之业务分析报告与数据可视化报表
Bracket matching problem
CUDA explanation - why GPU is used in deep learning