自己整理一下tableView几种Style的样式,不然每次都的搜索or试(记不住啊~记不住>_<)
一、TableViewCell Style
1、.default:detailTextLabel 不会显示
2、.value1:textLabel靠左;detailTextLabel靠右 灰色
3、.value2:默认字号小;textLabel 默认蓝色,距离左边很宽的间距;detailTextLabel 贴着textLabel
4、.subtitle:textLabel在上;detailTextLabel在下一行 缩小显示
二、accessoryType
1、.disclosureIndicator:> (默认灰色)
2、.checkmark:√ (默认蓝色)
3、.detailDisclosureButton:感叹号按钮+>
4、.detailButton :感叹号按钮