开发者

residual header space for TTTableViewController on iOS 5

开发者 https://www.devze.com 2023-04-12 18:15 出处:网络
I have a class that inherits from TTTableViewController, and overwrites the \"createDelegate\" method to use the TTTableViewDragRefreshDelegate instead of the default Delegate.

I have a class that inherits from TTTableViewController, and overwrites the "createDelegate" method to use the TTTableViewDragRefreshDelegate instead of the default Delegate.

The problem that I am seeing right now is that there is some header space that appears before my table content (supplied by data source, of course) for iOS 5, but this isn't there on pre-iOS 5 versions.

I searched around and found this article (http://stackoverflow.com/questions/6651367/how-to-make-the-blue-bar-on-the-top-disappear-for-tttableview-with-list-datasourc), but it d开发者_如何学JAVAoesn't quite help me as I did not overwrite tableView:viewForHeaderInSection: method.

What I have noticed is that for all my TableViewControllers that have this problem, they all seem to overwrite the "createDelegate" method and return TTTableViewDragRefreshDelegate, as mentioned above.

My question is: anyone ran into the same issue? How can I fix this problem?


Okay, figured it out. The problem is with an old three20 library that I was using. Once I upgraded to the latest, it was fixed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号