Ignore build.settings file

Hi guys,

I’ve coded a game with multiple features.

The main part of the game is played with the device held vertically and doesn’t have a build.settings file.

The custom character part of the game the device is held landscaped uses a build.settings file to achieve this.

I’ve kept the two chunks separate and now am trying to merge them together with the help of storyboard.

Can I choose to ignore or modify the build.settings file based upon the scene?

Thanks!

No.  The build.settings file is read at startup by the simulator.  When you build for device, those settings that are not OS specific (orientation, plugins, etc.) are converted into the native bits when you build for device.  They are not read at all once the device build is finished.  You will have to have a build.settings file in all likelyhood if you plan to deploy to a device.

As for your app supporting multiple orientations, there are a couple of schools of thoughts on that.  You can either have build.settings support all orientations and trap the orientation events and adjust the display when you get the events.  Or used a fixed orientation and for the odd scene that needs rotated, rotate everything 90 degrees.

Rob

No.  The build.settings file is read at startup by the simulator.  When you build for device, those settings that are not OS specific (orientation, plugins, etc.) are converted into the native bits when you build for device.  They are not read at all once the device build is finished.  You will have to have a build.settings file in all likelyhood if you plan to deploy to a device.

As for your app supporting multiple orientations, there are a couple of schools of thoughts on that.  You can either have build.settings support all orientations and trap the orientation events and adjust the display when you get the events.  Or used a fixed orientation and for the odd scene that needs rotated, rotate everything 90 degrees.

Rob