xamarin.ios - Monotouch - Set TintColor of UISearchBar -


i'm using uisearchdisplaycontroller , i'm trying set tintcolor of uisearchbar. problem color not come though correctly. in interface builder color of search bar correct after setting tint property, when app runs, search bar same color, lot lighter. e.g. if set tintcolor black in interface builder looks right in designer, when run app color come though medium grey.

i have tried setting in code below, no luck.

searchdisplaycontroller.searchbar.tintcolor = uicolor.black; 

any ideas? i'm bit lost on one.

this seems bug in ios 5/6. happens me when connect search bar search display controller, not otherwise.

how (strangely) fixed it:

add segmented controller view, change it's tint color desired color. right color on search bar well.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -