predicateWithBlock as the predicate for ABPeoplePicker.predicateForEnablingPerson causes exception
问题 iOS8 introduced a new scheme for configuring ABPeoplePicker using NSPredicates. I need more than the a basic predicate for which people to enable so I tried using predicateWithBlock like so: - (NSPredicate *)predicateForEnablingPerson { return [NSPredicate predicateWithBlock:^BOOL(id evaluatedObject, NSDictionary *bindings) { return TRUE; // Just pass back true until we figure out why it's crashing }]; } There's nothing in the scant documentation about this not being supported. Anyone know