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