Swift Logo

Custom Text is being cut off at the top SwiftUI 5.1

My Text was looking like the above and I was trying everything to stop the top part being cut off.

Here is the solution:

I ended up adding \n at the start of the Text String. I hope this helped you.


Leave a Reply

Name *
Email *