Usage
Limitations
- Be aware that while
AttributedStringis effectively a 1:1 mapping ofNSAttributedString, it is up to the renderer which attributes it wants to render. In other words, not every attribute that is in anAttributedStringwill be rendered by SwiftUI.- Source: SwiftUI AttributedString is not there yet | Medium by Thomas Ricouard