خرید بک لینک

Vote count: 0

Is there a possibility to have UIToolBar with UIBarButtonItem's of different colors,

For example, The first button should have a red font color, where as the rest of buttons should have lightGray font color.

Note: Here are some considerations :)

  1. I caot use UITabBar, Though it can be achieved by offsetting title using setTitlePositionAdjustment

  2. I know that title color can be changed using [barButton setTitleTextAttributes:@{NSFontAttributeName:toolBarFont,NSForegroundColorAttributeName:themeColor} forState:UIControlStateNormal];, i caot change title color of one item.

  3. Caot use UIBarButtonItem with customView, as the width of items is not automatically adjusted.
asked 26 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 11 تير 1395 ساعت: 17:47

صفحه بندی