UIViewController Lifecycle
Asked at Mobile · Mobile Engineering (Android/iOS) · Difficulty: Easy
Walk through the **`UIViewController` lifecycle** — `loadView` → `viewDidLoad` → `viewWillAppear` → `viewIsAppearing` → `viewDidLayoutSubviews` → `viewDidAppear` → `viewWillDisappear` → `viewDidDisappear` → `deinit` — including which methods fire **once** vs **every appearance**.
Loading the problem…
More Mobile interview questions
- Activity Lifecycle Configuration Changes and Process Death
- Design an Image Loading and Caching Library
- SwiftUI State Management Property Wrappers
- ARC Retain Cycles and weak vs unowned
- Jetpack Compose Recomposition State and Stability
- GCD vs Swift async-await Concurrency