tags:

views:

118

answers:

1

Hello,

in many iPhone apps I could see UITextView with rounded corners. Is there a simple way to achieve this? or do I need to create a custom UITextView? any links to examples showing how to achieve this?

Thanks!

+4  A: 

If you are using iOS 3+, you can do the following:

myTextView.clipsToBounds = YES;
myTextView.layer.cornerRadius = 10.0f;
bstahlhood