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
A table view delegate is a scroll view delegate, so you have already set it.
@protocol UITableViewDelegate<NSObject, UIScrollViewDelegate>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With