我正在 ios 9 中搜索 api。我可以显示标题和 desc。但是,我不能为电话号码做。它会显示为通话按钮,对吗?但是,到目前为止,我只看到标题和描述。我该怎么办?
CSSearchableItemAttributeSet * attributeSet = [[CSSearchableItemAttributeSet alloc] initWithItemContentType:(NSString*)kUTTypeItem];
attributeSet.title = [NSString stringWithFormat:@"%@",nickname];
attributeSet.contentDescription = [NSString stringWithFormat:@"Department - %@", department];
attributeSet.keywords = @[nickname, department];
attributeSet.phoneNumbers = @[@"23233036"];