I've been using the iOS 27 beta and noticed in Messages app that the link presentation is now customisable.
Upon tapping on the link it opens (what I assume is) an edit menu interaction, which allows customising which metadata is shown. I've seen some links offer more customisation than others, presumably based on available metadata.
There's also an option in the menu to convert to a text link, and when highlighting a link in text there's an option to "show link preview" which converts it to an LPLinkView.
I've been wondering for a while now if it was possible to add a similar feature to my own app, allowing the user more control over the link previews.
How can I achieve similar? Especially "Customise Link" sheet seen in the middle two screenshots?