E
E
Evgeny Konkin2016-11-27 14:25:49
iOS
Evgeny Konkin, 2016-11-27 14:25:49

Programmatically button to fullscreen?

Hi all!
Can you tell me how to programmatically make a button click "Full Screen"?
All clambered nothing about it and already thought in general is it possible or not?
e253e32bae3a40ddbeb6b60cc911862c.png
import UIKit
import AVKit
import AVFoundation
class VideoPlayerViewController: UIViewController
var playerViewController = AVPlayerViewController()
var player: AVPlayer?
I want to do when the device is rotated horizontally so that the player expands to full screen.
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question