Hopefully someone can help me.
I have a tabbar which toggles between 5 scenes, all of which contain a tableview. My “onPress” method for the tabbar returns true, which I would’ve thought would be enough to stop touch events being applied to objects underneath it…but they still are.
It’s very annoying for the user because they change to a new tab, and immediately click a table view cell even though they didn’t click on a visible part of the table cell.
I find that I have a similar problem if I have two objects with one using a “touch” event and one using a “tap” event, if the user performs one of these events the ‘return true’ doesn’t always prevent user input on the second event.
I imagine that if I was using a mask on the table view so that it could not exist beneath the tabbar this may help. However I find that if I use an image that covers most of the screen (let’s say 868x648 including the padding needed), that this is not suitable for devices with a different aspect ratio. If I use this mask on an HTC Sensation which has a taller screen than an iPhone 4, I end up with a tableview which does not touch the top of the screen and the top of the tabbar.
I imagine the 2 problems are related somehow, but I’m just not sure how to fix it so would be grateful for any help. [import]uid: 84115 topic_id: 31143 reply_id: 331143[/import]