VKFullscreenContainer Class Reference

Inherits from UIViewController
Declared in VKFullscreenContainer.h

Overview

VKFullScreenContainer is a container that helps VKPlayerController object play in fullscreen mode.

– initWithPlayerController:windowRect:

Initialize VKFullScreenPlayer object

- (id)initWithPlayerController:(VKPlayerControllerBase *)player windowRect:(CGRect)rect

Parameters

player

Needs VKPlayerControllerBase object to holds initial states of player

rect

Needs CGRect as a starting frame to begin fullscreen animation

Declared In

VKFullscreenContainer.h

– dismissContainerWithAnimated:completionHandler:

Dismiss container ViewController

- (void)dismissContainerWithAnimated:(BOOL)animated completionHandler:(void ( ^ ) ( void ))completionHandler

Parameters

animated

Controls the dismiss animation

Declared In

VKFullscreenContainer.h