I’m developing an app that calculates poker odds, and now I’m facing some problems with the card selector.
This is a mockup of what I want.

I’ve found two ways to accomplish this. The first one is to use an entire UIImageView and detect touches, calculate where the touch has been generated, and set the corresponding value.
The second one is to use a lot of UIButtons, but in this case I get problems with the shape of the buttons.
Of course I can use a regular UIPickerView and so on but I think that the one I’ve designed is better.
After googled a little i’ve found https://github.com/ole/OBShapedButton .
it does anything what i need