iOS-修改TableView分割线样式

实现代码: 

1 myTableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;

有三种样式:

UITableViewCellSeparatorStyleNone, 没有分割线
UITableViewCellSeparatorStyleSingleLine, 单线(默认)
UITableViewCellSeparatorStyleSingleLineEtched 内嵌线 

猜你喜欢

转载自www.cnblogs.com/luoluosha/p/11694337.html
今日推荐