iPhone can store iape and flac formats.
Although the iPhone's built-in player does not support FLAC and APE lossless files, it only supports AAC and WAV. But it can be played with other software.
For example, Tiantian Dongting Software and Golden Ear, these two players support FLAC and APE formats.
In addition, video players such as AcePlayer, AVPlayer and RushPlayer also support these two formats. There is also AceMusic, which also supports it and is free.
Extended information
The iPhone itself does not support the lossless formats ape and flac, but I downloaded third-party software to transfer flac to the iPhone for playback. This device itself does not support it, but through Third-party software support will not affect the sound quality. But there is a problem with iPhone’s built-in headphones. MP3 128Kbps is no different from lossless music.
There are two types of audio decoding: hardware decoding, which reads files through the support of the machine hardware itself, and software decoding, which reads files through the algorithm provided by the software. Often referred to simply as hard solutions and soft solutions.
Theoretically, the results obtained by the two decoding methods are the same. If you hear any difference, there may only be a problem with the software algorithm or the headset is broken. Recommend Tiantian Dongting, supports flac and ape.