Sidharth J Dev
Sidharth J Dev

Reputation: 987

Selection Field Customisation in UITabBar

I need to customise the UITabBar as shown in this image, for my project. Is it possible to do so? And if so, how can it be done? the selection field should have this "orange" shadeTab Bar. Selected Field Must have Color

Upvotes: 1

Views: 26

Answers (1)

Gurtej Singh
Gurtej Singh

Reputation: 3234

You can achieve this by doing :

yourTabBar.selectionIndicatorImage = [UIImage imageNamed:@"yourImage.png"];

Create the orange gradient as an image and use it in the code above.

Hope this helps.

Upvotes: 2

Related Questions