設置如下代碼:
if ([[UIDevice currentDevice].systemVersion doubleValue] >= 9.0)
{
_mainTableView.cellLayoutMarginsFollowReadableWidth = NO;
意思大概是:判斷是否需要根據內容留有空白 解決問題
}
不正常顯示如圖:
IMG_0016.PNG
設置如下代碼:
if ([[UIDevice currentDevice].systemVersion doubleValue] >= 9.0)
{
_mainTableView.cellLayoutMarginsFollowReadableWidth = NO;
意思大概是:判斷是否需要根據內容留有空白 解決問題
}
不正常顯示如圖: