It may have to do with the XCode version/settings you’re using. According to the Apple documentation, full screen apps are enabled only under certain conditions, and it may be possible that your app is working in some “compatibility” mode that adds safe margins.
Bruno
(I know you asked this 4 months ago, but I am facing similar issues today and thought it may be useful for other users too )