orucanil / CarouselView

Carousel View

Home Page:https://www.linkedin.com/in/annul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resizing/Rotating Screen causes inexplicable issues

JohnnyBaggins opened this issue · comments

Hi, I've been working with this framework the last couple of days. While I am extremely happy with what it does (I was able to show a carousel of AVPlayerLayers fairly effortless), I am now heavily struggling with rotating the screen. No matter where I try to catch the rotation, the carousel does wander randomly all over the screen, cropping off parts of the player that I'm showing or even deleting it as a whole. Not handling the rotation at all does not help because the player would then be in the incorrect format to support the played video (or at least not use the full screen that's available, think of 10:9 on a normal iPad).

My basic question, therefore is: How should one catch screen size changes with this carousel? Should I at all? If so, where? Should I scale the carousel or the view on the carousel? Should I use auto resizing masks? I'm sort of at your mercy here. Is changing screen size even implemented on this tool?

Thank you.