How can I extract metadata from mp3 file in ios development

前端 未结 1 1506
悲哀的现实
悲哀的现实 2021-02-09 05:28

I am working on an ios music player with cloud storage.

I need to extract the music information such as title, artist, artwork.

I have an action called playit wh

1条回答
  •  悲哀的现实
    2021-02-09 06:19

    Try

    for (NSString *format in [asset availableMetadataFormats])
    

    Instead of

    NSArray *metadata = [assest commonMetadata];
    for (NSString *format in metadata) {
    

    0 讨论(0)
提交回复
热议问题