JWFullScreenViewController
@objcMembers
@MainActor
open class JWFullScreenViewController : UIViewController, UIPopoverPresentationControllerDelegate, UIViewControllerTransitioningDelegate
This is the default UIViewController which is used when the player takes over the entire screen.
-
If true, all full screen views are forced into landscape orientation. The default value is
true
.Declaration
Swift
@MainActor public var displayInLandscape: Bool
-
Undocumented
Declaration
Swift
@MainActor public override var prefersHomeIndicatorAutoHidden: Bool { get }
-
The interface orientation to use when presenting the view controller.
Declaration
Swift
@MainActor public override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get }
-
Called after the controller’s view is loaded into memory.
Declaration
Swift
@MainActor open override func viewDidLoad()
-
Undocumented
Declaration
Swift
@MainActor override open func viewDidAppear(_ animated: Bool)
-
Asks the delegate for the presentation style to use when the specified set of traits are active.
Declaration
Swift
@MainActor public func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle
Parameters
controller
The presentation controller that is managing the size change. Use this object to retrieve the view controllers involved in the presentation.
traitCollection
The traits representing the target environment.
-
Notifies the delegate that an adaptivity-related transition is about to occur.
Declaration
Swift
@MainActor public func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator: UIViewControllerTransitionCoordinator?)
Parameters
presentationController
The presentation controller that is managing the adaptivity change.
style
The new presentation style. If the presentation style is not changing, this parameter is set to
UIModalPresentationStyle.none
.transitionCoordinator
The transition coordinator that is managing the transition.
-
Undocumented
Declaration
Swift
@MainActor open func animationController(forPresented presented: UIViewController, presenting: UIViewController, source: UIViewController) -> (any UIViewControllerAnimatedTransitioning)?
-
Undocumented
Declaration
Swift
@MainActor open func animationController(forDismissed dismissed: UIViewController) -> (any UIViewControllerAnimatedTransitioning)?