modalPresentationStyle
The presentation style for modal view controllers.
Declaration
@MainActor @preconcurrency override dynamic var modalPresentationStyle: UIModalPresentationStyle { get set }Discussion
The view controller overrides this method to establish its preferred presentation style in visionOS. Changing the value of this property has no effect in visionOS.