Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i make central raised tabbar item?

At first I want to say that i am new in iPhone application development.I want to make a tabbaritem when i will select a item of the tabbar then it should be look like that

enter image description here

Many Thanks In Advance.

like image 972
Emon Avatar asked Dec 14 '11 11:12

Emon


2 Answers

Know it's already been answered, but wanted to offer an alternative approach.

Subclassing UITabBarController is a bad idea, according to the docs. I also had no end of trouble when I actually tried to use a UIImagePickerController as one of the view controllers behind the subclassed tabbar.

I took a much simpler approach just overlaying a uibutton over the tabbar item. Example project can be found here:

https://github.com/group6/RaisedCenterButton

It's just an example though. You're still going to need to do the work to incorporate it into an app.

like image 102
jpittman Avatar answered Oct 02 '22 11:10

jpittman


Use the info in this Article

like image 43
Daniel Haviv Avatar answered Oct 02 '22 11:10

Daniel Haviv