0

what I am trying to do is use this symbol with a number in it like this:

like this

but when i try to write the unicode symbol sometimes it displays it sometimes it doesn't, and if it does display it i dont know how to write the number inside.

here is a simple piece of code I wrote

import SwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
        Text(String("\u{FC00}"))
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
vikingosegundo
  • 52,040
  • 14
  • 137
  • 178

0 Answers0