HighlightCenter returns no links

Hi

I got 2 universal links to my app in my Messages, but when I call highlightCenter.highlights, I get a count of 0.

What should I check to get the right links ?

Answered by Apple Designer in 716837022

Here are a couple of things you can check

  1. is Shared with You enabled for your app? Preferences > Messages > Shared with You and see if the toggle for your APP is enabled?
  2. is Shared with You enabled for the conversation where these universal links are shared
  3. In the conversation where the universal links are shared, is the participant a Contact?
  4. If you have sent the link, then you will need to "Pin" the link for it to surface in Shared with You.
Accepted Answer

Here are a couple of things you can check

  1. is Shared with You enabled for your app? Preferences > Messages > Shared with You and see if the toggle for your APP is enabled?
  2. is Shared with You enabled for the conversation where these universal links are shared
  3. In the conversation where the universal links are shared, is the participant a Contact?
  4. If you have sent the link, then you will need to "Pin" the link for it to surface in Shared with You.

Hi

I installed the beta2 of iOS 16, and of Xcode 14.

I'm finally able to see my app in Preferences > Messages > Shared with You. I toggled my app to YES. Shared with you is enabled in the conversation where I share universal links to my app The participant is a contact Both participants shared links

And yet, I still get an empty array. Any idea why ?

Accepted Answer

Ended up finding my problem. highlightCenter.highlights is not filled at the instantiation of highlightCenter, so I had to wait for the call to the delegate function.

HighlightCenter returns no links
 
 
Q