1

Is there anyway to make an uiimageview 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?

Black Frog
  • 11,595
  • 1
  • 35
  • 66
Jorge
  • 2,156
  • 2
  • 22
  • 29

3 Answers3

0

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.

Joetjah
  • 6,292
  • 8
  • 55
  • 90
0

you can create a button and set its image or background image as required

good luck

Kshitiz Ghimire
  • 1,716
  • 3
  • 18
  • 37
0

Check out this thread,

Simple way of using irregular shaped buttons

Hope this will solve your problem

Community
  • 1
  • 1
Vishal Kardode
  • 961
  • 2
  • 8
  • 25