1

I am working on an application using Swift which needs to have a TabBarController and when user will select a tab then that particular tab bar item shows a 3d visual effect (Although it will be an static image I guess) which contains shadow and that tab bar item will be bigger in size as well with different tint colour.

Please see the attached image.

enter image description here

I have searched a lot on internet but no luck. Please someone help :(

Ankush
  • 2,405
  • 3
  • 22
  • 45

2 Answers2

0

Use http://cocoapods.org/pods/M13InfiniteTabBar

For as much as I do not like answers in the tone It can't be done, I feel that the specific of your screenshot, namely going outside of the UITabbar background, can't be done with UITabBarController.

SwiftArchitect
  • 47,376
  • 28
  • 140
  • 179
  • I guessed the same. I think I will have to make a UI view and put imageviews and make logic by myself to get this effect. – Ankush Jul 13 '15 at 06:29
  • Correct. There is no Pod that I know about which solves your immediate question. I would love to stand corrected. Please post a follow-up on the solution you elect. – SwiftArchitect Jul 13 '15 at 06:35
0

You can use -initWithTitle:image:selectedImage:. Documentation found here

timominous
  • 436
  • 3
  • 5