Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I had a test , use the function NSTemporaryDirectory ,create a file in tmp ,and reboot the apps ,but it doesn't clean that directory, i search it from internet , and found it may clean ,not must, so I want to know how long and at which point it clean the tmp?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.