I have the following:
MPMediaPropertyPredicate *titlePredicate = [MPMediaPropertyPredicate predicateWithValue:textString
forProperty:MPMediaItemPropertyTitle
comparisonType:MPMediaPredicateComparisonContains];
NSSet *predicateSet = [NSSet setWithObject:titlePredicate];
MPMediaQuery *searchQuery = [[MPMediaQuery alloc] initWithFilterPredicates:predicateSet];
NSArray *itemsFromTextQuery = [searchQuery items];
for (MPMediaItem *song in itemsFromTextQuery)
{
[arrayOfSongItems addObject:song];
}
Which works great, but only searched the Title of the track. I'd like it to return results for the Title, the Artist and the Album name.