Hello, this may be a dumb question but is there any way to make it so that when you click on a menu item that it is activated on the touch instead of the release?
Simple button question
(3 posts) (3 voices)-
Posted 2 years ago #
-
you'd probably have to subclass the menuitem class. I'm quite sure it's not build in.
Posted 2 years ago # -
Subclass them and overwrite those methods:
-selected
-unselectedex. with a BOOL:
-(void) selected
{
[super selected];
isActivated = YES;}
-(void) unselected
{
[super unselected];
isActivated = NO;
}Then, instead of giving the button a selector, enter nil.
Hope this helps
Posted 2 years ago #
Reply
You must log in to post.