Yalantis / FoldingTabBar.iOS

Folding Tab Bar and Tab Bar Controller
https://yalantis.com
MIT License
3.68k stars 458 forks source link

如果要用纯代码,怎么样集成 #96

Closed ellmcz closed 5 years ago

ellmcz commented 6 years ago

The more information you provide, the faster we can help you.

⚠️ Select what you want - a feature request or report a bug. Please remove the section you aren't interested in.

A feature request

What do you want to add?

Please describe what you want to add to the component.

How should it look like?

Please add images.

Report a bug

What did you do?

Please replace this with what you did.

What did you expect to happen?

Please replace this with what you expected to happen.

What happened instead?

Please replace this with what happened instead.

Your Environment

Project that demonstrates the bug

Please add a link to a project we can download that reproduces the bug.

CodeXey commented 5 years ago

the tabbarControl is inherited from UITabBarController, you can use 'addChildViewController' , and just realize the delegate and dateSource