UITableView添外框

UITableView加外框tableView.layer.borderWidth 1tableView.layer.borderColor [[UIColor grayColor]

UITableView加外框
tableView.layer.borderWidth = 1;
tableView.layer.borderColor = [[UIColor grayColor] CGColor];

要引入quartz core framework