TVIScreenCapturer Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | TVIVideoCapturer |
| Declared in | TVIScreenCapturer.h |
capturing
Indicates that screen capture is active.
@property (atomic, assign, readonly, getter=isCapturing) BOOL capturingDeclared In
TVIScreenCapturer.h
– initWithView:
Constructs a TVIScreenCapturer with a UIView.
- (null_unspecified instancetype)initWithView:(nonnull UIView *)viewParameters
view |
The |
|---|
Return Value
An instance of TVIScreenCapturer if creation was successful, and nil otherwise.
Discussion
TVIScreenCapturer captures the contents of a single view at 1x scale.
Because this class depends on UIKit and CoreGraphics to snapshot content it does not function
if the application is backgrounded. This class will not respond to TVIVideoConstraints.
Instead, it will use the dimensions of the view to determine its capture size.
Declared In
TVIScreenCapturer.h