Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabBar两侧添加参数修改边距 #377

Open
ChenYilong opened this issue May 28, 2019 · 1 comment
Open

TabBar两侧添加参数修改边距 #377

ChenYilong opened this issue May 28, 2019 · 1 comment

Comments

@ChenYilong
Copy link
Owner

ChenYilong commented May 28, 2019

enter image description here



Base Info for this issue

  1. Version:Latest Version as here
  2. Language of App :Objective-C/Swift
  3. iOS System Version:iOS12
  4. Prototype(是否是真机):YES
  5. Issue Type:Enhancement(希望能支持一个新需求)

Orz-北京-码农:






@Cynical1217
Copy link

老哥~我也遇到了适配iPad,tabBar需要居中的问题。按照你的方法没有成功。我现在的做法是在CYLTabBarController 的viewWillLayoutSubviews中硬改tabBar的大小和位置让他居中,但是当从横屏切回竖屏时 items的宽度不会 tabBar大小不会改但是位置会改变,只能每次切换都硬改一下,能详细说一下你的方法么?谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants