Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application folder name changes every time i run in simulator [duplicate]

Whenever I restart my application it's folder name in finder is changed from

09323D3F-D371-4556-ABA3-BD23AF487F12

to

E771BBEC-ACC6-489C-B7C1-B5FF11004CB2/

NSHomeDirectory() is changing everytime I run the app in simulator.

like image 212
abh Avatar asked Mar 09 '15 13:03

abh


1 Answers

Don't save the full path, but just the directory and file name to the images. Since this behavior is new in iOS 8 and can also happen on a real device.

like image 119
rckoenes Avatar answered Sep 27 '22 23:09

rckoenes