Add unique identifier to Spotlight attributes to prevent duplicate spotlight search results
This commit is contained in:
parent
0b48c3893d
commit
eb9c176f90
|
@ -38,6 +38,7 @@ class ActivityFactory {
|
|||
attributeSet.title = article.title
|
||||
attributeSet.contentDescription = article.summary
|
||||
attributeSet.keywords = keywords
|
||||
attributeSet.relatedUniqueIdentifier = article.url
|
||||
|
||||
if let image = article.avatarImage() {
|
||||
attributeSet.thumbnailData = image.pngData()
|
||||
|
|
Loading…
Reference in New Issue