我正在用符合特定条件的歌曲填充数组。
NSArray *songs = [[[MPMediaQuery alloc] init] items];
NSMutableArray *filteredSongs;
for (int i=0; i<[songs count]; i++) {
// filter logic here: if songs[i] match the criteria, push it filteredSongs array
}
现在我想按 排序该数组MPMediaItemPropertyAlbumTitle
,但如果用户 mp3 的专辑信息丢失,则避免出现问题。(我正在尝试为此处解决的问题找到解决方法)