问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/32630874/disable-itunes-file-sharing