When using the method initWithTabBarSystemItem
to create a UITabBar object is there a way to set the title? I've tried setting the title property (on the viewController
and tab bar item) afterwards but it doesn't seem to make a difference. I know about the initWithTitle: image:
method but I want to use one of the system icons with a custom title.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
If yo are using the systemItem you can't customize it, you will have to make a custom Item, and use the same or similar artwork... you could get the artwork from: http://www.teehanlax.com/blog/iphone-gui-psd/
You can do it in two ways.
or
Go to the interface builder ; Click on the UITabBarItem and edit it.