I have to increase the height of UITabbar. How can I do this any help please?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Can not export audiofiles via “open in:” from Voic
- XCode 4.5 giving me “SenTestingKit/SenTestKit.h” f
This goes against the iOS Design Guidelines, but if you have to do it, you may subclass your tabbar-controller and alter it. It will not look good just changing the height.
You can write a category of UItabbar
here is the code :
.h file :
.m file :
and then #import "UITabBar+NewSize.h"
You change its height, width, x and y coordinates. See this:
You can change these parameters for tabBar not tabBar controller in case of tabBased app selected in starting when you select the app type.
I have seen posts of many people about the same similar thing. The only solution they came up with is sub classing the UITabbar. May be you can do that.