README-ios.txt
changeset 7241 28602f5ca96d
parent 7222 2435b221d77d
child 8477 ad08f0d710f3
equal deleted inserted replaced
7240:39eb4958950a 7241:28602f5ca96d
    32 armv6 for legacy devices, armv7, and i386 (for the simulator).
    32 armv6 for legacy devices, armv7, and i386 (for the simulator).
    33 By default, iosbuild.sh will autodetect the SDK version you have installed using 
    33 By default, iosbuild.sh will autodetect the SDK version you have installed using 
    34 xcodebuild -showsdks, and build for iOS >= 3.0, you can override this behaviour 
    34 xcodebuild -showsdks, and build for iOS >= 3.0, you can override this behaviour 
    35 by setting the MIN_OS_VERSION variable, ie:
    35 by setting the MIN_OS_VERSION variable, ie:
    36 
    36 
    37 IN_OS_VERSION=4.2 ./iosbuild.sh
    37 MIN_OS_VERSION=4.2 ./iosbuild.sh
    38 
    38 
    39 ==============================================================================
    39 ==============================================================================
    40 Using the Simple DirectMedia Layer for iOS
    40 Using the Simple DirectMedia Layer for iOS
    41 ==============================================================================
    41 ==============================================================================
    42 
    42 
   156 
   156 
   157 Each application installed on iPhone resides in a sandbox which includes its own Application Home directory.  Your application may not access files outside this directory.
   157 Each application installed on iPhone resides in a sandbox which includes its own Application Home directory.  Your application may not access files outside this directory.
   158 
   158 
   159 Once your application is installed its directory tree looks like:
   159 Once your application is installed its directory tree looks like:
   160 
   160 
   161 ySDLApp Home/
   161 MySDLApp Home/
   162 	MySDLApp.app
   162 	MySDLApp.app
   163 	Documents/
   163 	Documents/
   164 	Library/
   164 	Library/
   165 		Preferences/
   165 		Preferences/
   166 	tmp/
   166 	tmp/
   167 
   167 
   168 When your SDL based iPhone application starts up, it sets the working directory to the main bundle (MySDLApp Home/MySDLApp.app), where your application resources are stored.  You cannot write to this directory.  Instead, I advise you to write document files to "../Documents/" and preferences to "../Library/Preferences".  
   168 When your SDL based iPhone application starts up, it sets the working directory to the main bundle (MySDLApp Home/MySDLApp.app), where your application resources are stored.  You cannot write to this directory.  Instead, I advise you to write document files to "../Documents/" and preferences to "../Library/Preferences".  
   169 
   169 
   170 ore information on this subject is available here:
   170 More information on this subject is available here:
   171 http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html
   171 http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Introduction/Introduction.html
   172 
   172 
   173 ==============================================================================
   173 ==============================================================================
   174 Notes -- iPhone SDL limitations
   174 Notes -- iPhone SDL limitations
   175 ==============================================================================
   175 ==============================================================================