1
2
3
4
5
6
7
8
9
10
11
12
13
14
application(_:didFinishLaunching:) // 앱이 처음 시작될 때 실행
applicationWillResignActive: // 앱이 active 에서 inactive로 이동될 때 실행
applicationDidEnterBackground: // 앱이 background 상태일 때 실행 
applicationWillEnterForeground: // 앱이 background에서 foreground로 이동 될 때 실행 (아직 foreground에서 실행중이진 않음)
applicationDidBecomeActive: // 앱이 active상태가 되어 실행 중일 때
applicationWillTerminate: // 앱이 종료될 때 실행
 
 
viewDidLoad         : ViewController가 처음 호출 될 때
viewWillAppear       : ViewController가 화면에 나타나기 직전에 호출
viewDidAppear      : ViewController가 화면에 나타난 직후에 호출
viewWillDisappear : ViewController가 화면에 사라지기 직전에 호출
viewDidDisappear  : ViewController가 화면에 사라진 직후에 호출
 
cs

'Swfit' 카테고리의 다른 글

스위프트 푸시 설정  (0) 2020.03.31
코코아팟 문세발생시 제거하고 pod 다시설치  (1) 2020.03.31
코코아팟 설치  (0) 2020.03.31
iOS 앱스토어 스크린샷 사이즈  (0) 2020.03.29
스위프트 예제  (0) 2020.03.29

+ Recent posts