[GH-ISSUE #281] iOS: Make links clickable #219

Open
opened 2026-05-07 00:21:42 +02:00 by BreizhHardware · 4 comments

Originally created by @binwiederhier on GitHub (May 29, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/281

Originally created by @binwiederhier on GitHub (May 29, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/281
Author
Owner

@binwiederhier commented on GitHub (Jun 7, 2022):

I investigated this for half an hour or so, and while it is pretty simple to just evaluate the entire payload as Markdown, I don't want to do that, because that would be inconsistent with the Android app. Also, I want links to be highlighted regardless of whether someone adds [..](..) around it or not.

This seems trickier, and I gave up after 30min.

Some links:

https://stackoverflow.com/questions/57744392/how-to-make-hyperlinks-in-swiftui

https://www.hackingwithswift.com/example-code/system/how-to-make-tappable-links-in-nsattributedstring

https://swiftuirecipes.com/blog/hyperlinks-in-swiftui-text

https://www.raywenderlich.com/29501177-attributedstring-tutorial-for-swift-getting-started

<!-- gh-comment-id:1149281452 --> @binwiederhier commented on GitHub (Jun 7, 2022): I investigated this for half an hour or so, and while it is pretty simple to just evaluate the entire payload as Markdown, I don't want to do that, because that would be inconsistent with the Android app. Also, I want links to be highlighted regardless of whether someone adds `[..](..)` around it or not. This seems trickier, and I gave up after 30min. Some links: https://stackoverflow.com/questions/57744392/how-to-make-hyperlinks-in-swiftui https://www.hackingwithswift.com/example-code/system/how-to-make-tappable-links-in-nsattributedstring https://swiftuirecipes.com/blog/hyperlinks-in-swiftui-text https://www.raywenderlich.com/29501177-attributedstring-tutorial-for-swift-getting-started
Author
Owner

@robfox92 commented on GitHub (Jul 11, 2022):

Even just making notification text selectable/copiable would be a good start. At least you could then paste into the browser.

<!-- gh-comment-id:1179931332 --> @robfox92 commented on GitHub (Jul 11, 2022): Even just making notification text selectable/copiable would be a good start. At least you could then paste into the browser.
Author
Owner

@plia7 commented on GitHub (Jun 24, 2023):

Hello, can confirm links are not clickable on my iPhone 12 Pro Max, iOS 14.4.1. Would be a really nice feature to have. Thanks.

<!-- gh-comment-id:1605596365 --> @plia7 commented on GitHub (Jun 24, 2023): Hello, can confirm links are not clickable on my iPhone 12 Pro Max, iOS 14.4.1. Would be a really nice feature to have. Thanks.
Author
Owner

@loc9493 commented on GitHub (Aug 16, 2023):

I created a PR for this issue: https://github.com/binwiederhier/ntfy-ios/pull/14. @binwiederhier Can you check it?

<!-- gh-comment-id:1680746127 --> @loc9493 commented on GitHub (Aug 16, 2023): I created a PR for this issue: https://github.com/binwiederhier/ntfy-ios/pull/14. @binwiederhier Can you check it?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#219
No description provided.