Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift text align center

Text("Centered")
    .frame(maxWidth: .infinity, alignment: .center)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #text #align #center
ADD COMMENT
Topic
Name
5+8 =