Hello,
I noticed that links containing an apostrophe will return nil. I have provided an example below. Does anyone have a workaround or solution for this problem?
//Code...
item.url = "https://www.robinrendle.com/notes/i-don't-believe-in-sprints/"
.onTapGesture {
guard let url = URL(string: "\(item.url)") else { return }
UIApplication.shared.open(url)
}
printing URL(string: "(item.url)") will return a nil.