Aprove answer

Fixed the issue:

The issue started after I added a ScrollView to a ViewController and changed the simulated size of the ViewController to fit the scrollview content. I changed the simulated size to freeform and the issue started to appear. I changed it back to fixed and now everything is working normal.

But I hope it shouldn't be happening and apple will fix this soon.

Credit Goes to: stackoverflow.com

Related question with same questions but different answers