antiguab / BATabBarController

A TabBarController with a unique animation for selection
https://antiguab.github.io/batabbarcontroller/
MIT License
1.06k stars 131 forks source link

About Autolayout issues with this lib #10

Closed VMTrinh closed 5 years ago

VMTrinh commented 8 years ago

My autolayout not working when add into BATabBarController. How to fix it?

antiguab commented 7 years ago

@VMTrinh - Can you post a sample project? I haven't had any auto-layout issues.

pmehul55 commented 7 years ago

Hello I am facing one layout issue when Toggle In-Call Status Bar option ON

Please check attached screenshots.

screen shot 2017-09-29 at 3 46 24 pm simulator screen shot 29-sep-2017 1 55 30 pm simulator screen shot 29-sep-2017 1 55 43 pm

antiguab commented 6 years ago

@pmehul55 - I've tried toggle the in-call status bar in several scenarios and it still didn't get cut off. Can you provide specific steps?

pmehul55 commented 6 years ago

@antiguab - Step 1 : Launch app in your device / Simulator.

Step 2 : Now put app into background mode and click on "Toggle In-Call Status Bar" option into simulator or share hotspot from your real device.

Step 3 : Now come into foreground mode here i think this issue can reproducible.

antiguab commented 6 years ago

You're right - I'll look into this

antiguab commented 5 years ago

Looked into and it looks like a lot of custom views suffer from resizing with the in call status bar. I'm not seeing a general or clean solution, but there are solutions for resizing the entire view as a whole you can implement:

https://stackoverflow.com/questions/43595514/uiviewcontroller-in-call-status-bar-issue https://stackoverflow.com/questions/25882609/how-to-do-layout-to-handle-in-call-double-height-status-bar-for-custom-present