How to set scrollView delegate from a UITableView?

Posted by Sheehan Alam on Stack Overflow See other posts from Stack Overflow or by Sheehan Alam
Published on 2010-05-28T22:05:40Z Indexed on 2010/05/28 22:12 UTC
Read the original article Hit count: 299

I have a UITableViewController that contains a tableView. I want to set its scrollView delegate to self, but I am not sure how to do that? if i call

[self.tableView.delegate = self]

It will set the UITableViewDelegate to self, and not the UIScrollViewDelegate

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c