I\'ve seen this happen whenever i rotate a screen that has a UITableView on it. I\'ve found out that it happens inbetween the willRotate and
UITableView
willRotate
You can try this yourTableview?.bounces = false. It works for me.
yourTableview?.bounces = false