lenhhoxung
lenhhoxung

Reputation: 2746

Create vertical tabbar for ipad

Today I tried to implement a vertical tabbar for iPad. I checked a lot of questions on Stackoverflow and other sites but couldn't find the appropriate answer. Here are what I found:

In my opinion, the third component is great. However, I guess I'll have to customize a lot before I can use to create this following UI:
enter image description here

So do you know any components/libraries that match my UI? It would be great if anyone can suggest me a correct one. Thanks.

Upvotes: 2

Views: 1245

Answers (3)

dengApro
dengApro

Reputation: 4008

I translated futuresimple/FSVerticalTabBarController into Swift 5.

My repo is https://github.com/coyingcat/VerticalTabBar


Apple's doc Implementing a Container View Controller is great also

Upvotes: 0

Nirav Gadhiya
Nirav Gadhiya

Reputation: 6342

Try to use FSVerticalTabBarController. I have used it and it is easy to modify...

Upvotes: 1

raja
raja

Reputation: 1161

  • You can try this component IIViewDeckController. Its very light weight.
  • Usually it will be used for Stackview, left Menu kind of UI.
  • But you can do a small trick like below to achieve your design above.

    Steps:

    • The component have left, right, top, bottom and center stack of controllers.
    • Use a UITableView on your LeftViewController to design your above UI.
    • Each index will act as a container of OneViewController.
    • Clicking one cell of your tableview will place the appropriate ViewController in the center controller of IIViewDeckViewController.

Its very easy, I guess you will like it. Just take some time to go through their examples. Hope it will be useful

Upvotes: 1

Related Questions