Show only the first letter of the text (SwiftUi) – Ios swift
I'm trying to figure out how can I show only the first letter of the text? struct MyText: View { var body: some View { Text("Hello") .lineLimit(1) } } This is how it should turn out H I tried using…