SCCameraKitOutputViewportProvidingDelegate
Objective-C
@protocol SCCameraKitOutputViewportProvidingDelegate <NSObject>
/// Notifies delegate that the viewport or safe area has changed, and change should be propogated to CameraKit.
/// @param sender the output providing the viewport change.
- (void)viewportChanged:(id<SCCameraKitOutputViewportProviding>)sender;
@end
Swift
protocol OutputViewportProvidingDelegate : NSObjectProtocol
Undocumented
-
Notifies delegate that the viewport or safe area has changed, and change should be propogated to CameraKit.
Declaration
Objective-C
- (void)viewportChanged:(nonnull id<SCCameraKitOutputViewportProviding>)sender;
Swift
func viewportChanged(_ sender: any OutputViewportProviding)
Parameters
sender
the output providing the viewport change.