Tuesday 15 April 2014

How To Create Circular Diplay Picture and Rounded Corner..!!!!!

How To Create Circular Diplay Picture and Rounded Corner..!!!!!

UIImageView *imageview = [UIImageView alloc] init];
imageview.layer.cornerRadius = imageview.frame.size.width / 2;
imageview.layer.borderWidth = 3.0f;
imageview.layer.borderColor = [UIColor whiteColor].CGColor;
imageview.clipsToBounds = YES;

No comments:

Post a Comment