Describes how to call NSString's variantFittingPresentationWidth(_:)
let string = NSLocalizedString("WELCOME_MESSAGE", comment: "This is the welcome message.") as NSString | |
let adaptedString = string.variantFittingPresentationWidth(25) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment