PDA

View Full Version : Double tap handling on UITabBarItem. How ?




brat2
Feb 18, 2009, 04:56 AM
Now I have a problem ...

I want different reactions from UITabBarItem on single and double tap...

It is easy to make it for simple click (tap), but double click (double tap) is more difficult... may be it is impossible...

I think that because of UITabBarItem is not inherited from UIResponder, this is quite impossible to do....Because there's no ability to reimplement touches methods (touchesBegan and others).

Am I right ?



jnic
Feb 18, 2009, 05:01 AM
UITabBarItem doesn't but UITabBarController does, so certainly possible. Sounds a little against the HIG though, not sure how Apple's reviewers would respond to the unusual usage.