How to set two line text in SwiftUI ?

For setting up n number of lines of Text in swiftUI we can use .lineLimit(.. function which takes arguments as number of lines. #For iOS 15 & Below : we have to set .fixedSize(horizontal: false, vertical: true) & .lineLimit(2) # For iOS 16 onwards

How to set two line text in SwiftUI ? Read More »