我在 Xcode 中看到警告错误为“从枚举类型 'enum NSUITableViewRowAnimation' 到不同枚举类型 'UITableViewScrollPosition' 的隐式转换”
这是我收到错误的代码:
[detailTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewRowAnimationTop animated:YES];