Added note on 'main.m' and orientation settings

This commit is contained in:
Richard Larkin 2016-06-28 12:31:35 +02:00
parent c613068e5b
commit 6ee0a927b6

View file

@ -99,12 +99,26 @@ You can open the Xcode project using::
Then click on `Play`, and enjoy.
.. notes::
.. note::
Everytime you press `Play`, your application directory will be synced to
the `<title>-ios/YourApp` directory. Don't make changes in the -ios
directory directly.
Configuring your App
--------------------
When you first build your XCode project, a 'main.m' file is created in your
XCode project folder. This file configures your environment variables and
controls your application startup. You can edit this file to customize your
launch environment.
.. note::
If you wish to restrict your apps orientation, you should do this via
the 'export_orientation' function in 'main.m'. The XCode orientation
settings should be set to support all.
FAQ
---