开发者

How do I have an image, with two clickable regions, each with text displaying?

I know it's probably best to have two buttons on top of the image - my problem is the buttons themselves should be invisible, but the text on the buttons should be visible???

EDIT: sorry, found an 开发者_Python百科option 30 secs after posting! If you set button to type to 'Custom', you can get text displaying without anything other than the text....


The UIButton may be not the best solution. If a performance issues occur (animation is not smooth anymore) you should implement your own view and handle tap events (with UIGestureRecognizer for example). But for the first prototype UIButton will be good enough in any case.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜