guilhermearaujo / GUITabPagerViewController

MIT License
454 stars 69 forks source link

Controllers inside the page controller won't resize themselves when resizing or rotating #35

Closed internalG closed 7 years ago

internalG commented 7 years ago

It can be reproduced when you rotate on ipad. iOS 8 has worse situation than iOS 9 and 10.

guilhermearaujo commented 7 years ago

What version are you using?

internalG commented 7 years ago

The latest version. The tab bar line also won't redraw when you rotate from portrait to landscape.

internalG commented 7 years ago

I'm trying to fix it, but can't find it yet. It seems the constraints have no effects. You can run your sample app on the ios 8 simulator, and rotate from portrait to landscape to reproduce it.

guilhermearaujo commented 7 years ago

@internalG I'm running the sample app on iOS 10 emulator and it seems fine to me. I'll download the iOS 8 simulator and try it. Meanwhile, do you have a sample project of your own that I could see this issue happening?

internalG commented 7 years ago

https://github.com/internalG/GUITabPagerViewController/blob/rotation/rotation1.png https://github.com/internalG/GUITabPagerViewController/blob/rotation/rotation2.png

You can see the tabs position and separator length are not right after rotation.

guilhermearaujo commented 7 years ago

Fixed on v0.1.3