UITextField minimum fontsize
问题 I'm using the property minimumFontSize textField.font = [UIFont boldSystemFontOfSize:17]; textField.textColor = [UIColor darkGrayColor]; textField.minimumFontSize = 10; textField.adjustsFontSizeToFitWidth = YES; But the text never goes to minimum font size of 10, it gets truncated, but if I change the current fontSize to 10, the whole text appears correctly. Am I using this property wrong? 回答1: As late as it is ... you were setting up your UITextField correctly, and adjustsFontSizeToFitWidth