I'm trying to set up an AVPlayerViewController completely through storyboards by embedding in a separate View Controller.
Steps:
- Create Single View Application in Xcode.
- Embed VC in navigation Controller.
- Add toolbar at the bottom.(pinned to superView (Leading, Trailing, Bottom Layout Guide, Height(44)).
- Add container View in parent View Controller.(pinned to superView (Leading, Trailing), Top Layout Guide, toolbar Top).
- Remove the default View Controller that comes with container view.
- Drag AV Player View Controller object from Object Library.
- Connect embed segue …