Monday, 15 March 2010

ios - Can I customise the Search bar with Monotouch.dialog -



ios - Can I customise the Search bar with Monotouch.dialog -

i have custom monotouch dialogviewcontroller created, , have set:

enablesearch = true

however, using background colour of dark gray , have black colour uinavigationbar too. default search bar appears in dialogviewcontroller looks quite out of place.

is there way customise colour of @ all, or subclass uisearchbar or search bar fit other colours using in app?

thanks help or pointers!

looks should have tried word "tint" in initial searches before posting question. reply on next question: monotouch.dialog - uisearchbar tint

to summarise mentioned in thread, cast tableview.tableheaderview uisearchbar , utilize tintcolor property set desired value.

((uisearchbar) tableview.tableheaderview).tintcolor = uicolor.black;

:)

ios monotouch monotouch.dialog

No comments:

Post a Comment