Increase width of tab bar item to fit image
I am doing a simple tab based app, with one 2 tab items and I would like to have an image in each tab.
The problem is, tabbarcontroller is cropping the images rather than fitting them in. I just have two images, basically开发者_开发技巧 text, saying "ABOUT","SETTINGS" and i would like them to take the full width of the tab bar. Something like the attached image. How can i achieve this without the images getting cropped.
Referring to the image "ABOUT" & "SCAN QR" are images.
Thanks
I don't think what you wish to accomplish is achievable by using the standard controls. I'd recommend using a custom toolbar instead of the tab bar controller.
精彩评论