Changes

Jump to: navigation, search

Working with Directories on iOS 7

12 bytes added, 20:42, 1 February 2016
m
Text replacement - "<google>BUY_IOS7</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
Having identified the path to the application’s document or temporary directory the chances are good that you will need to make that directory the current working directory. The current working directory of a running iOS application can be changed with a call to the change-CurrentDirectoryPath method of an NSFileManager instance. The destination directory path is passed as an argument to the instance method in the form of an NSString object. Note that this method returns a boolean YES or NO result to indicate if the requested directory change was successful or not. A failure result typically indicates either that the specified directory does not exist, or that the application lacks the appropriate access permissions:
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
<pre>
NSFileManager *filemgr;
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>

Navigation menu