How to stop UITableView from returning to top cell after popover

后端 未结 4 1338
春和景丽
春和景丽 2021-01-24 13:47

I have a tableView full of images. When a user taps on an image (within the cell), a viewController with a larger zoomable version of the image is called with a popover segue. W

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-24 14:01

    please check, if you are calling reloadData in viewWillAppear or viewDidAppear. or if you are calling any reloadsection in either of these 2 methods.

    You can also validate these calls also in viewWillDisappear/viewDidDisappear methods too.

提交回复
热议问题