OTVContainerView
@interface OTVContainerView
A container view that creates an AVPlayerLayer
and subtitle view,
managing the interactions with OTVAVPlayer
for easy integration.
Optionally custom overlays can be added on top of the video/subtitle content
through the ‘customOverlayView’ property. These views will sit below any optionally
bound OTVWatermark
.
Any subviews added in storyboard or interface builder will be automatically moved
onto the customOverlayView. Note that this process recreates any auto layout constraints
so any constraints connected to an IBOutlet will be lost.
-
This function has no effect. Instead you should add your views to the customOverlayView property
Declaration
Objective-C
- (void)addSubview:(UIView *_Nonnull)view;
-
This function has no effect. Instead you should add your views to the customOverlayView property
Declaration
Objective-C
- (void)insertSubview:(UIView *_Nonnull)view atIndex:(NSInteger)index;
-
This function has no effect. Instead you should add your views to the customOverlayView property
Declaration
Objective-C
- (void)insertSubview:(UIView *_Nonnull)view aboveSubview:(UIView *_Nonnull)siblingSubview;
-
This function has no effect. Instead you should add your views to the customOverlayView property
Declaration
Objective-C
- (void)insertSubview:(UIView *_Nonnull)view belowSubview:(UIView *_Nonnull)siblingSubview;
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
Declaration
Objective-C
- (void)bringSubviewToFront:(UIView *_Nonnull)view;
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
Declaration
Objective-C
- (void)sendSubviewToBack:(UIView *_Nonnull)view;
-
This function has no effect. Reordering of views is not permitted, you may want to make use of the customOverlayView property
Declaration
Objective-C
- (void)exchangeSubviewAtIndex:(NSInteger)index1 withSubviewAtIndex:(NSInteger)index2;