I use code as below to get path of tmp and documents, but they are in different location, I knew that documents folder is right, I want to know if this tmp folder is correct?
Documents Folder:/Users/mikezang/Library/Application Support/iPhone Simulator/3.2/Applications/E7A7C5DF-1095-40CC-89DB-7AE036FE5468/Documents/database.sqlite3
Tmp Folder:/var/folders/+D/+DggSL7nF8OME3lFbWxEDk+++TI/-Tmp-/
Code:
[NSTemporaryDirectory() stringByAppendingPathComponent:fullFileName]
Documents Folder:/Users/mikezang/Library/Application Support/iPhone Simulator/3.2/Applications/E7A7C5DF-1095-40CC-89DB-7AE036FE5468/Documents/database.sqlite3
Tmp Folder:/var/folders/+D/+DggSL7nF8OME3lFbWxEDk+++TI/-Tmp-/