Question

I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app also - same issue. Thus its not an issue with the code I believe.

Any help to resolve this issue is much appreciated.

Thanks, AJ

Was it helpful?

Solution

This is a problem because the 'i' button is not very big by default and touches are missed easily.

You need to put another button in front of the 'i' button with the 'Custom' type in Interface Builder, so that it doesn't have any image. Then you can make this invisible button much larger and connect it to the same action as the info button.

You also need to enable "shows touch on highlight" in Interface Builder so that you get the white glow effect when the invisible button is touched.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top