disable iTunes file sharing
Asked Answered
L

1

7

I would like to disable iTunes file sharing of my app. I went to info.plist and added an entry UIFileSharingEnabled equal to NO.

When I run the app, and go to iExplorer my apps still has visible Documnets folder Library and so on. What additional steps do I need to perform?

enter image description here

Lumpy answered 17/9, 2015 at 12:57 Comment(4)
iExplorer does not use the iTunes file sharing, It just reads the device its file system.Brecher
You can hide your files in respected folders.Cabernet
check out the image I added. What respected folders do you have in mind?Lumpy
maybe try to use - (nullable NSURL *)containerURLForSecurityApplicationGroupIdentifier:(NSString *)groupIdentifier of NSFileManager. But you need to enable app groups and so on.Jerry
P
14

You don't have to disable iTunes File Sharing, since it is disabled by default. You're seeing the folders in iExplore since you've probably used XCode to install the app on the device (all apps installed not from the AppStore will still have visible folders). So for all apps installed from the AppStore the folders will be hidden, unless the developer explicitly enables iTunes File Sharing.

Pinxit answered 25/9, 2015 at 20:6 Comment(2)
Does it also mean for apps distributed through AdHoc, it will also have visible folders?Opinionated
From my experience - YESPinxit

© 2022 - 2024 — McMap. All rights reserved.