PictureInPictureCorner
@objc(THEOplayerPictureInPictureCorner)
public enum PictureInPictureCorner : Int
The corner of the PiP view
- topLeft: The PiP view will be positioned at the top left corner of the screen
- topRight: The PiP view will be positioned at the top right corner of the screen
- bottomLeft: The PiP view will be positioned at the bottom left corner of the screen
bottomRight: The PiP view will be positioned at the bottom right corner of the screen
Note
The PiP corner can be observed with the Notification.Name.PictureInPictureMoved notification
-
The default corner is bottom right
Declaration
Swift
public static var `default`: PictureInPictureCorner { get }