From 6ee0a927b6d6db05256255bb544181c9fb501c15 Mon Sep 17 00:00:00 2001 From: Richard Larkin Date: Tue, 28 Jun 2016 12:31:35 +0200 Subject: [PATCH] Added note on 'main.m' and orientation settings --- README.rst | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index ccd35ce..49cd6cb 100644 --- a/README.rst +++ b/README.rst @@ -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 `-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 ---