[Solved] How to make Custom UIview which have rounded cornes, in iphone? [closed]


For this you need to import Quartz framework. You can also set Bordercolor, shadow color, corner width, etc to that view.

#import <QuartzCore/QuartzCore.h>

And try this code.

        [self.YourView.layer setCornerRadius:1.0];
        [self.YourView.layer setBorderColor:[[[UIColor grayColor] colorWithAlphaComponent:0.5] CGColor]];
        [self.YourView.layer setBorderWidth:1.0];
        [self.YourView.layer setShadowColor:[UIColor lightGrayColor].CGColor];

2

solved How to make Custom UIview which have rounded cornes, in iphone? [closed]