完整代码如下: textView.layer.borderColor = [UIColorgrayColor].CGColor; textView.layer.borderWidth =1.0; textView.layer.cornerRadius =5.0; 需要添加头文件: #import <QuartzCore/QuartzCore.h>
【上篇】“Incorrect Architecture” when trying to install iPhone app onto my development device
【下篇】UITableView详解
【下篇】UITableView详解