Post

Replies

Boosts

Views

Activity

Objective c with iOS15 tableView expandable
Hey Team, if (self.selectedIndex==-1)   { NSIndexPath *prev = [NSIndexPath indexPathForRow:self.selectedIndex inSection:0];     self.selectedIndex=indexPath.row; [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:prev] withRowAnimation:UITableViewRowAnimationFade]; } Now, this below code gave me a crash in iOS 14 & iOS 15. But it is working fine with iOS 13. Could you please provide me with an alternate of this? [tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:prev] withRowAnimation:UITableViewRowAnimationFade];
1
0
721
Oct ’21
Objective c with iOS 15
Hey Team, I was doing testing after updated Xcode 13. While running the application it got crashed, I saw the logs in the terminal. please refer to it below. "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Passing argument that is not a CGColor to +[UIColor colorWithCGColor:]' terminating with uncaught exception of type NSException" NOTE: I have not applied any code color in the code.
3
0
1.1k
Oct ’21