2016-10-19 25 views

回答

0

[tableView reloadData];

設定內容偏移(y位置)的tableView的可能的幫助。

CGFloat nSearchBarHeight = 40; 
CGPoint point = (CGPoint){0,nSearchBarHeight}; 
tableView.contentOffset = point; 

希望有幫助。

+0

這是我的第一個方法,但它不工作:( –