Wednesday, February 22, 2012

Make Rounded Corner of the View

In your iPhone application to make your rounded you can use this code

CALayer * l = [viewChangePieces layer];
[l setMasksToBounds:YES];
[l setCornerRadius:10.0];

you need to add #import in your header file.

No comments:

Post a Comment