需引入QuartzCore.framework, 并在相关文件中加入 #import "QuartzCore/QuartzCore.h"
self.tableView.layer.borderWidth = 1; self.tableView.layer.borderColor = [[UIColor blackColor] CGColor];
需引入QuartzCore.framework, 并在相关文件中加入 #import "QuartzCore/QuartzCore.h"
self.tableView.layer.borderWidth = 1; self.tableView.layer.borderColor = [[UIColor blackColor] CGColor];