xmartlabs / XLMailBoxContainer

Custom container view controller ala MailBox app.
MIT License
89 stars 15 forks source link

Compatible with size layout with all size classes? #11

Open mcassano opened 9 years ago

mcassano commented 9 years ago

I am struggling to get the table views full screen when using iPhone and iPad compatible auto layout. Anyone else?

acjr commented 9 years ago

Think I'm experiencing the same issue. The view is full screen when toggling with segmented control but shifts down slightly when swiping? Any luck @mcassano ?

mcassano commented 9 years ago

I ended up switching to another segmented control (FHSegmentedViewController) but it had the same problem. I stuck with it with that control and found that if I set the navigation bar to translucent = false then everything drew correctly. This same could work for XLMailBox. Find the navigation bar on load and set translucent to false so the list can't load behind it.

acjr commented 9 years ago

Apologies on the late reply. Thank you for sharing what you found, I also switched the FHSegmentedViewController, then implemented the change. Fixed my issue! Thanks again.

On Sunday, January 25, 2015, Michael Cassano notifications@github.com wrote:

I ended up switching to another segmented control (FHSegmentedViewController) but it had the same problem. I stuck with it with that control and found that if I set the navigation bar to translucent = false then everything drew correctly. This same could work for XLMailBox. Find the navigation bar on load and set translucent to false so the list can't load behind it.

— Reply to this email directly or view it on GitHub https://github.com/xmartlabs/XLMailBoxContainer/issues/11#issuecomment-71379937 .