Explain ~/documents, ~/library, ~/tmp. What directory is ~ on ios?



Explain ~/documents, ~/library, ~/tmp. What directory is ~ on ios?..

Answer / Akash Kumar

~ on iOS represents the home directory of the current user. It's equivalent to /Users/<username> on macOS. The ~/Documents directory stores user-created documents, while ~/Library contains application support files and settings. ~/tmp is a temporary directory for storing temporary files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

How can mobile application errors be prevented?

1 Answers  


What is the methods for unzip file in AFNetworking

1 Answers  


Explain @property ,@synthesize

1 Answers  


Screen resolution of iPhone & iPad

1 Answers  


How do you setup/initialise a core data stack in your application? Is this activity performed on main thread? If not, why?

1 Answers  


what does @synthesize do?

1 Answers  


What are all the difference between categories and subclasses in iOS operating system?

1 Answers   TryTechnicals Pvt Ltd,


What is the viper?

1 Answers  


What is mvc pattern in ios?

1 Answers  


What is iphone sdk?

1 Answers  


What is difference between static library and framework?

1 Answers  


What is main thread checker?

1 Answers  


Categories