A Boolean value indicating whether the view is currently loaded into memory.
SDKs
- iOS 3.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
var isViewLoaded: Bool { get }
Discussion
The value of this property is true
when the view is in memory or false
when it is not. Accessing this property does not attempt to load the view if it is not currently in memory.