If you are not using a safe zone, you can bind it to the Top Layout Guide with a constant of 0:

Or you can enable the Safe Zone in the File Inspector of the View Controller, back back to iOS 9 and pin the top back again with a constant of 0.

source share