iOS App Development Book/Video Series

General Category => FAQs => Topic started by: kjmcneish on October 08, 2015, 01:21:51 PM

Title: How to get the app to fill the simulator screen when porting to Xcode 7
Post by: kjmcneish on October 08, 2015, 01:21:51 PM
When you port a project to Xcode 7 and run it in the Simulator, the app does not fill the Simulator screen (you see a black area above and below the scene).

To fix this problem:

1. Add a LaunchScreen.storyboard file to the project (you can create a new Xcode 7 project and copy the storyboard file into your project).
2. In the Project Editor, select the project's target and set Launch Screen File to LaunchScreen.

All the best!
Kevin McNeish
Author of Learn to Code in Swift: https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11 (https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11)
Check out our Robot Tic-Tac-Toe app: https://itunes.apple.com/us/app/robot-tic-tac-toe/id990638517?mt=8 (https://itunes.apple.com/us/app/robot-tic-tac-toe/id990638517?mt=8)