導(dǎo)航條下方自帶的灰線
解決方法:
[self.navigationBar setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];
self.navigationBar.shadowImage = [[UIImage alloc] init];
搜索框自帶的上下兩條灰邊線
解決方法:
self.searchBar.layer.borderColor = [UIColor bgGrayIcolor].CGColor;
//一定要設(shè)置borderWidth肥卡,否則borderColor和backgroundColor屬性設(shè)置會(huì)無效
self.searchBar.layer.borderWidth = 1;
UITableViewCell自帶的分割線
解決方法:
[self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
以后持續(xù)更新......