Quote:
Originally Posted by erfmufn
Hi guys and gals,
I have an image and want to create "hotspots" on that image that respond to touches. (touch down)
I have a round rect button there but when i hide or set alpha to 0 the button events never get triggered, is there a way to hide a button without disabling it?
Thanks in advance.
|
Instead of setting alpha to 0, set the type of the button to custom, but do not add a label or image.
This is described in the Dave Mark / Jeff LaMarche iPhone Development book, on page 69/70.