Post

Replies

Boosts

Views

Activity

Reply to Text cutting subscript character
For example this is a string which gives me problem: "ICl e CH₂Cl₂" ZStack {         RoundedRectangle(cornerRadius: 10)           .fill(Color.white)           .shadow(color: Color( colorLiteral(red: 0, green: 0, blue: 0, alpha: 0.05)), radius: 7, x: 0.0, y: 0.0)                   Text("\(quiz.question)\n")           .font(.custom("Lato-Bold", size: 17))           .foregroundColor(Color("primaryColor"))           .multilineTextAlignment(.center)           .fixedSize(horizontal: false, vertical: true)           .lineLimit(nil)           .padding(.horizontal)       } I had to add "\n" at the end to show it correctly
Mar ’21
Reply to Text cutting subscript character
I am downloading the string I manually added into Firebase Realtime Database. I put the subscript string by control+command+spacebar and selecting it from the list. If I add a new line ("\n") in text it is showing normally, not cut subscript char (but with unwanted new line)
Mar ’21