Is it possible to change Custom Info View Controller's index in AVPlayerViewController?
A view controller that provides client-specific content and controls alongside system-provided information and settings panels. SDK
tvOS 11.0+
Declaration Swift
var customInfoViewController: UIViewController? { get set }
Declaration Objective-C
@property(nonatomic) UIViewController *customInfoViewController;
Let's take a look inside of AVPlayerViewController.h
...
/*!
@property customInfoViewController
@abstract A view controller to be displayed alongside system-provided info and settings panels.
@discussion Use this property to provide client-specific content and controls in an additional info view. Implement -preferredContentSize to provide the desired view size.
*/
@property (nonatomic, nullable) UIViewController *customInfoViewController API_AVAILABLE(tvos(11.0));
...
By default, it's the second item at info panel (after info tab). I want to show at first index.