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" shade
Asked
Active
Viewed 26 times
1

Sidharth J Dev
- 927
- 1
- 6
- 25
-
1Please see my answer below and let me know if it works. Thanks. – Gurtej Singh Aug 07 '15 at 05:49
-
What have you tried? You can find the answer to this question with a very easy Google search, but even if you couldn't we would need you to first say what you had tried (and failed) to do for this question to be appropriate. – Max von Hippel Aug 07 '15 at 06:08
1 Answers
2
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.

Gurtej Singh
- 3,244
- 1
- 14
- 27