IOUIScreenCaptureUnit
public class IOUIScreenCaptureUnit : NSObject, IOScreenCaptureUnit
extension IOUIScreenCaptureUnit: Running
The IOUIScreenCaptureUnit class captures the UIView.
-
Specifies the boolean value that indicates whether the snapshot image downsize or not.
Declaration
Swift
public var enabledScale: Bool
-
Specifies the boolean value that indicates whether the snapshot should be rendered after recent changes have been incorporated.
Declaration
Swift
public var afterScreenUpdates: Bool
-
Specifies the number of shaphot that must pass before the display link notifies the target again.
Declaration
Swift
public var frameInterval: Int
-
Specifies the CVPixelBufferPool’s attrivutes.
Declaration
Swift
public var attributes: [NSString : NSObject] { get }
-
Declaration
Swift
public weak var delegate: IOScreenCaptureUnitDelegate?
-
Declaration
Swift
public private(set) var isRunning: Atomic<Bool> { get }
-
Creates an IOUIScreenCaptureUnit object to capture UIApplication.
Declaration
Swift
public init(shared: UIApplication)
-
Create an IOUIScreenCaptureUnit object to capture UIView.
Declaration
Swift
public init(viewToCapture: UIView)
-
Undocumented
Declaration
Swift
@objc public func onScreen(_ displayLink: CADisplayLink)
-
Declaration
Swift
public func startRunning()
-
Declaration
Swift
public func stopRunning()