isPresented
TypeScriptget isPresented(): booleanSwift declarationvar isPresented: Bool { get }Indicates whether a view is currently presented.
struct · iOS 13.0+ · Deprecated in iOS 100000.0 · SDK 27.1
struct PresentationModeAn indication whether a view is currently presented by another view.
get isPresented(): booleanSwift declarationvar isPresented: Bool { get }Indicates whether a view is currently presented.
dismiss(): voidSwift declarationmutating func dismiss()Dismisses the view if it is currently presented. If `isPresented` is false, `dismiss()` is a no-op.
No declarations were skipped in this snapshot.