Songs transferred from Apple’s mobile phone via Zaiya cannot be put into local music. Because the IOS system uses a sandbox mechanism to store files. Local music can only be played through apple music or third-party apps such as QQ Music or NetEase Cloud Music.
1. Introduction to the sandbox mechanism
The sandbox mechanism in iOS is a security system. Each iOS program has an independent file system (storage space) and can only operate in the corresponding file system. This area is called a sandbox. All non-code files should be saved here, such as property files plist, text files, images, icons, media resources, etc.
2. Sandbox directory structure
/AppName.app The package directory of the application. Since the application must be signed, the contents of this directory cannot be modified at runtime, otherwise the application will fail to start.
/Documents/ saves important data files and user data files of the application. This directory is backed up when iTunes syncs.
/Library/Caches saves support files and cache files generated when the application is used, and log files are best placed in this directory. This directory is not backed up when iTunes syncs.
/Library/Preferences Saves the application's preference files (created when set using the NSUserDefaults class, should not be created manually).
/tmp/ saves the temporary data required when the application is running. When the iPhone restarts, all files in this directory will be cleared.