Post

Replies

Boosts

Views

Activity

SwiftUI indentation in multiline string
I want to create a multiline text view with bullet points indented to the right. The text following these bullet points is long and is looping to the next row, which I want. However, the part that is being looped is not keeping the original indentation that I gave the line. This is my code: Text(""" Moving piece • To move pieces, click on the piece you want to move • Then click on the square you want to move the piece to • To unselect a piece, simply click it again """) Here is a screenshot: The word "piece" is not receiving the indent that the beginning of that sentence was given. How can I fix this?
3
0
4.3k
Apr ’23
Are iPhone screenshots required for an iPad-only app?
I am creating an iPadOS app. I have deselected the option for iPhoneOS in Xcode, but App Store Connect requires that I upload 5.5-inch and 6.5-inch iPhone screenshots before I add the app to app review. Do I need these screenshots?
Replies
1
Boosts
0
Views
467
Activity
Mar ’23
SwiftUI indentation in multiline string
I want to create a multiline text view with bullet points indented to the right. The text following these bullet points is long and is looping to the next row, which I want. However, the part that is being looped is not keeping the original indentation that I gave the line. This is my code: Text(""" Moving piece • To move pieces, click on the piece you want to move • Then click on the square you want to move the piece to • To unselect a piece, simply click it again """) Here is a screenshot: The word "piece" is not receiving the indent that the beginning of that sentence was given. How can I fix this?
Replies
3
Boosts
0
Views
4.3k
Activity
Apr ’23