How do I add folders into an iOS app documents directory? thanks
Most file operations are done via the NSFileManager
class. To create a new directory use this method:
-[NSFileManager createDirectoryAtPath:withIntermediateDirectories:attributes:error:]
Apple documentation here: Apple reference docs -createDirectoryAtPath
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With