Added note on 'main.m' and orientation settings
This commit is contained in:
parent
c613068e5b
commit
6ee0a927b6
1 changed files with 15 additions and 1 deletions
16
README.rst
16
README.rst
|
@ -99,12 +99,26 @@ You can open the Xcode project using::
|
||||||
|
|
||||||
Then click on `Play`, and enjoy.
|
Then click on `Play`, and enjoy.
|
||||||
|
|
||||||
.. notes::
|
.. note::
|
||||||
|
|
||||||
Everytime you press `Play`, your application directory will be synced to
|
Everytime you press `Play`, your application directory will be synced to
|
||||||
the `<title>-ios/YourApp` directory. Don't make changes in the -ios
|
the `<title>-ios/YourApp` directory. Don't make changes in the -ios
|
||||||
directory directly.
|
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
|
FAQ
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue