TransWikia.com

IndexPath is returning nil, only on iOS 13.5.1 for indexPathForRowAtPoint

Stack Overflow Asked by pajtimid on November 4, 2021

IndexPath is returning nil, only on iOS 13.5.1, other iOS version is getting correct indexPath for specific button position.
Is anyone facing with same issue, or have any solution.
Thanks

- (void)deleteTapped:(id)sender {
CGPoint buttonPosition = [sender convertPoint:CGPointZero toView:self.tableView];
NSIndexPath *indexPath = [self.tableView indexPathForRowAtPoint:buttonPosition];
}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP