failureView.tapGestureRecognizer not working in UITableViewController.
Rashesh-Bosamiya opened this issue · comments
Rashesh Bosamiya commented
failureView.tapGestureRecognizer
is not working in UITableViewController
, Although working in UICollectionView
.
.
So, please let me know the possible solution.
I have wrote following code:
loadingView = LoadingView(frame: self.tableView.frame)
emptyView = EmptyView(frame: self.tableView.frame)
let failureView = ErrorView(frame: self.tableView.frame)
failureView.tapGestureRecognizer.addTarget(self, action: #selector(self.loadReadingData_api))
errorView = failureView