aslanyanhaik / youtube-iOS

youtube iOS app template written in swift 5
MIT License
2.54k stars 573 forks source link

Auto layouts for view controllers are Not Working #13

Closed DineshGurrapu closed 7 years ago

DineshGurrapu commented 7 years ago

I am Using this Library like tab bar controller with Different view controllers, When I give constraints for controllers in other view controllers I am not getting the exact Appearnce of that controllers .

DineshGurrapu commented 7 years ago

simulator screen shot 09-jan-2017 4 49 21 pm Like this

Actually I Give Constraints For label ,Center Horizontally,height,width and Top Constraints, but it is Appearing like Above Screen

aslanyanhaik commented 7 years ago

Hi @DineshGurrapu you should initialize TabBar UIView to get same functionality. Now the TabBar is not using autolayout, so changing app orientation will cause some issues. But the rest should work