// framework 에 QuartzCore 추가.
#import <QuartzCore/QuartzCore.h>
//...
// 아래 textView는 IB에서 설정해둔것.
//The rounded corner part, where you specify your view's corner radius:
textView.layer.cornerRadius = 10;
textView.clipsToBounds = YES;
#import <QuartzCore/QuartzCore.h>
//...
// 아래 textView는 IB에서 설정해둔것.
//The rounded corner part, where you specify your view's corner radius:
textView.layer.cornerRadius = 10;
textView.clipsToBounds = YES;
참고
http://stackoverflow.com/questions/1824463/how-to-style-uitextview-to-like-rounded-rect-text-field
댓글 없음:
댓글 쓰기