You may have pasted the size into your cellForRowAtIndexPath method, so it sets the size of the tableview each time it scrolls. I inserted this piece of code inside the check in viewDidLoad, then the size will be set only once at the beginning and everything will work.
CGPoint tvFrameO = _TableView.frame.origin;
CGSize tvFrameS = _TableView.frame.size;
float valueToResize = 50.0f;
_TableView.frame = CGRectMake(tvFrameO.x,
tvFrameO.y,
tvFrameS.width,
tvFrameS.height + valueToResize);
source
share