Closed Rashesh-Bosamiya closed 7 years ago
failureView.tapGestureRecognizer is not working in UITableViewController, Although working in UICollectionView. . So, please let me know the possible solution.
failureView.tapGestureRecognizer
UITableViewController
UICollectionView
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
failureView.tapGestureRecognizer
is not working inUITableViewController
, Although working inUICollectionView
. . So, please let me know the possible solution.I have wrote following code: