PlanetKitDeviceHandler

public class PlanetKitDeviceHandler : NSObject

Device orientation handler

A handler class for managing the device orientation.

  • The shared instance of the PlanetKitDeviceHandler class.

    Declaration

    Swift

    @objc
    public static let shared: PlanetKitDeviceHandler
  • The current orientation of the device.

    Declaration

    Swift

    @objc
    public var orientation: PlanetKitUIOrientation { get set }