1. 程式人生 > >iOS UITabBarController tabbar 上面的文字title 怎麼移動位置

iOS UITabBarController tabbar 上面的文字title 怎麼移動位置

/* To set item label text attributes use the appearance selectors available on the superclass, UIBarItem.

   Use the following to tweak the relative position of the label within the tab button (for handling visual centering corrections if needed because of custom text attributes)
*/
- (void)setTitlePositionAdjustment:(UIOffset)adjustment NS_AVAILABLE_IOS(5_0) UI_APPEARANCE_SELECTOR
你這邊的attributes屬性是不是沒設定對。。