IOS Custom Tab Bar

I am looking to implement a custom tab bar in iOS, where the highlighted item is larger than the rest of the tabs, and is viewing content similar to this screenshot. enter image description here

Can anyone point out a tutorial on how to do this preferably in Swift?

+4
source share
2 answers

UITabBar contains an array of UITabBarItems that inherit from UIBarItem. But unlike UIBarButtonItem, which also inherits from UIBarItem, there is no API to create a UITabBarItem using customView.

So, instead of creating a custom UITabBarItem, just create a regular one and then install a custom UIButton on top of the UITabBar

, .

https://github.com/boctor/idev-recipes/tree/master/RaisedCenterTabBar

: https://github.com/itsKaynine/SwiftRaisedTab

, Swift 3: fooobar.com/questions/358321/...

+2

. , , , .

, . , . Custom Tabbar Center Button .

: , Hide Button Bar on Push.

enter image description here

+2

Source: https://habr.com/ru/post/1666763/


All Articles