How to set Rounded corner in imageView in iPhone

include this header file
#import <QuartzCore/QuartzCore.h>

CALayer *layer=imageView.layer;

add this code in viewDidLoad


[layer setMasksToBounds:YES];
[layer setCornerRadius:10.0];

Comments

Popular posts from this blog

How to set background color of navigation bar in iPhone

Checking Device Info in ios

Some Interactive tips to take input form GUI Dialogs