开发者

How to make Two side round corner UITextField in iPhone?

I want to create uitextfield with the top left and right corner as rounded and bottom left and right corner as normal rectangle. Is there any way to create this kind of UITextField. I tried set the contentRadius 开发者_开发知识库property to 10.0f it gives me fully rounded rectangle textfield. Please help me to create a two side rounded corner textField.


textField.layer.cornerRadius = 10.0f;

Add this

#import <QuartzCore/QuartzCore.h>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜