0
votes

I am seeing the warning error in Xcode as "Implicit conversion from enumeration type 'enum NSUITableViewRowAnimation' to different enumeration type 'UITableViewScrollPosition'

Here's the code where i am getting the error:

  [detailTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewRowAnimationTop animated:YES];
1

1 Answers

2
votes

The error says it all. You aren't using the proper enumeration type.

You should be using UITableViewScrollPositionTop.

Reference: Table View Scroll Position