Round corners to textview in iPhone [duplicate]
Possible Duplicate:
how to set rounded corner for a UITextView ?
How can we give round corners to the textview in iPhone.
Please help
For all those who are still searching
you have to import
QuartzCore/QuartzCore.h
UITextView* txtView = [[UITextView alloc] initWithFrame:CGRectMake(50, 50, 300, 100)];
txtView.layer.cornerRadius = 5.0;
txtView.clipsToBounds = YES;
精彩评论