Reproduce
1. On selection of the button, set the tint color to UIColor.Red
get a nice red button, which is great
2. On second selection of the button, set the tint color to null
get a not-so-nice exception, which is not great
The default tint color, when no tint has been set by the application, is
null. The mono api may be wrongly issuing a parameter exception when
attempting to set to null. Any tint (even clear) applied to the object does
not produce the correct/default look, so the null parameter exception makes
using tint a bit troublesome.
Any other way to set tint to null, perhaps by setting a native field?
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/UIBarButtonItem-TintColor-can-t-reset-tp4286845p4286845.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch