Apple iPhone: Create a custom toggle button
Friday, December 4, 2009States UIControlStateSelected or UIControlStateHighlighted not work when a UIButton is set to work UIButtonTypeCustom! Or rather, do not work (because reserved for other types of buttons), for example to create a button in two states: toggle note. If we have created two images (stato1.png and stato2.png) for our button, we can proceed in this [...]










