ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 164 forks source link

Header on top of the tab bar ? #214

Open ducbm051291 opened 6 years ago

ducbm051291 commented 6 years ago

Is it possible to add a header view above the Tab Bar? Please help me this case, tks so much :)

malqadi88 commented 6 years ago

@ducbm051291 just create subview (offset from above) and connect it into controller then use [carbonTabSwipeNavigation insertIntoRootViewController:self andTargetView:subview] to load tabs inside subview.

Md-Rais commented 5 years ago

Create 2 views in your storyboard. Let View1 be the header view and View2 be the bottom view created to use by the carbonTabSwipeNavigation. Create connection for View2.

And then use this code: carbonTabSwipeNavigation.insert(intoRootViewController: self, andTargetView: View2)