I am using a uitableView
in my application and I want to prevent reloading it in different cases:
1. when I present another modal view on it.
2. row selection happens.
I am not calling [tableview reloadData]
in viewWillAppear
or viewDidAppear
. Is there anyway to prevent this reloading?
Thanks for your replies. There is no reload calling that causes this issue. I was using auto layout and the constraints set on tableview causes it to reload and change position when other view appears. Solution: When you do a selection os presentation use this command to prevent it from setting position for constraints:
tableView.translatesAutoresizingMaskIntoConstraints = YES;