1

I would like to know if it is possible to automatically adjust the size of a text according to the length of the words ? To prevent the text from being trimmed.

 self.navigationController.navigationBar.prefersLargeTitles = true;
 self.navigationItem.title = NSLocalizedString(@"Interface",nil);

enter image description here

Willeke
  • 14,578
  • 4
  • 19
  • 47
  • Uhh how about line breaks? – LinusGeffarth Feb 05 '18 at 19:47
  • I update the topic with my code !! I am talking about the navigation title. –  Feb 05 '18 at 19:52
  • Possible duplicate of [How to set multi line Large title in navigation bar? ( New feature of iOS 11)](https://stackoverflow.com/questions/47901318/how-to-set-multi-line-large-title-in-navigation-bar-new-feature-of-ios-11) – Roman Podymov Feb 05 '18 at 22:47

0 Answers0