Your First iOS and SwiftUI App · Conclusion |

This is a companion discussion topic for the original entry at

Hi Ray,

I’m really enjoying this class. I have some knowledge of Swift, but SwiftUI is a whole new ballgame!

I’ve been following the lessons in Your First iOS and SwiftUI App. But I’m having trouble with the center text (“Put the bullseye as close as you can to:”). Sometimes (but not always), the text gets cut off:

Any thoughts on why this is happening and what I can do about it?

I’ve tried placing some padding behind the text field and before the target amount like this:

var body: some View {
    VStack {
      // Target row
      HStack {
        Text("Put the bullseye as close as you can to:").padding(.trailing, 20)

but it still happens.


Thanks in advance,


@kenkelm Do you still have issues with this?