iOS - Memory arrangment

I’m a long-time Windows programmer with some recent experience programming for Mac OSX and no experience with iOS. Thus, my question. Am I correct in understanding that iOS device memory is organized like OSX in that there are root folders named “Applications”, “Library”, and “Users” (to name three); and that these folders can be located by using the URLForDirectory method as can be done in OSX?
efzAsked:
Who is Participating?
 
Hamidreza VakilianConnect With a Mentor Senior iOS DeveloperCommented:
Library, Applications directories still exit on iOS; but you should notice that every iOS application has its own sandbox (where the executable files, data and xib, etc. files reside) and you are just allowed to access directories and files only within your app's sandbox. if you access to files outside your app's sandbox then your app is a candidate for rejection in appstore. Also you will figure out that you don't need to access files outside your apps sandbox. (as far as you are not interested in writing hackish iOS applications)

Here is Apple's doc about iOS apps sandbox:
http://developer.apple.com/library/mac/ipad/#documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html
0
 
Hamidreza VakilianSenior iOS DeveloperCommented:
By the way you can use URLForDirectory method to get file paths within your app's sandbox.
0
All Courses

From novice to tech pro — start learning today.