UITableView细节.txt

UITableView细节.txt


1)当xib使用了自动布局,控件的frame调整便不生效。如此,要么取消自动布局;要么手写代码;


2)当xib使用了自动布局,cell.accessorytype不生效。取消Auto layout,采用autoresizing+autoresizingMask。


3)使用RATreeView,点击row,分割线显示的解决办法。(https://github.com/Augustyniak/RATreeView/issues/28)
Add this lines


[tableView deselectRowAtIndexPath:indexPath animated:YES];
[tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];


at the begining of didSelectRowAtIndexPath method from RATreeView+TableViewDelegate
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章