iphone - rounded corner images for only certain corners with calayer's cornerRadius -


i'm trying round top left corner of image can't fit appropriately group styled tableviewcell. can 4 corners rounded below code. know simple way 1 of corners rounded?

cell.imageview.layer.maskstobounds = yes; cell.imageview.layer.cornerradius = 5.0; 

thanks.

the practical way draw content rounded corners. can round arbitrary corners using mask property layer has corners want rounded drawn hand, that's slower. if can possibly take on drawing yourself, should so.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -