使用Xcode11时,如果UITableViewCell中cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator时,右边箭头带边框了,如图:
截图
在工程中搜索imageWithTint,因为iOS13内置了imageWithTint方法,和系统函数冲突导致的。
解决方法:
iOS13则直接使用系统imageWithTint,iOS12及以下使用自定义imageWithTint。
使用Xcode11时,如果UITableViewCell中cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator时,右边箭头带边框了,如图:
在工程中搜索imageWithTint,因为iOS13内置了imageWithTint方法,和系统函数冲突导致的。
解决方法:
iOS13则直接使用系统imageWithTint,iOS12及以下使用自定义imageWithTint。