Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

FullScreen not possible #52

Closed
Sub-Zero-1 opened this issue Feb 19, 2018 · 1 comment
Closed

FullScreen not possible #52

Sub-Zero-1 opened this issue Feb 19, 2018 · 1 comment

Comments

@Sub-Zero-1
Copy link

Hi! I can't get the player to full screen. Any ideas? The example app is working, but once copied your exampel code 1:1 into my application it just not going into orientation:landscaperight. Any ideas?

@Sub-Zero-1
Copy link
Author

I could not figure out what caused it, but I solved it following:

override func viewDidLoad() {
super.viewDidLoad()
//rotate complete view, so we get a landscape orientation
self.view.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi / 2 * 1))
......
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant