Is there anyway to make an u开发者_开发技巧iimageview or uibutton that is not squared?
I'd need several images that can be clickable but dont have a squared shape.
Is there anyway to solve this?
Check out this thread,
Simple way of using irregular shaped buttons
Hope this will solve your problem
Use a custom button to get a different shape on the button. A usefull link (though for xcode 3) is here: http://howtomakeiphoneapps.com/2009/09/how-to-create-custom-buttons-in-interface-builder/
For UIImageView it shouldn't matter much.. Any part of the UIImageView that doesn't get filled by the picture, stays transparant if I'm not mistaken.
you can create a button and set its image
or background image
as required
good luck
精彩评论