'Open settings when use click on particular word in text
Below is the code I am using :
Text("Welcome! If you need help locating it, click [here](Open Settings)to go to settings and copy the number.")
I can open any URL in safari, but how can I open :
UIApplication.shared.open(URL(string: UIApplication.openSettingsURLString)!)
Text("Welcome! If you need help locating it, click [here](https://www.capitalone.com)to go to settings and copy the number.")
I can not use attributed string.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
