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
UITableView细节.txt
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
-ObjC引起的duplicate symbols
_SK_
2020-06-29 12:08:03
Storyboard体验
_SK_
2020-06-29 11:24:00
NDK编译 Android库小记
_SK_
2020-02-25 01:16:38
License的攻与防
_SK_
2020-02-25 01:16:38
代码手写UI,xib和StoryBoard间的博弈,以及Interface Builder的一些小技巧
慧谷Cloud
2018-09-06 01:39:43
__block修饰符与循环引用
_SK_
2018-09-04 16:24:55
Cydia app为何收不到APNs?
_SK_
2018-09-04 16:24:54