I just upgraded to xcode 4.5 with iOS 6.0 and it\'s highlighting a warning on all the UILabels in my XIB files saying \"minimum font size deprecated on ios version 6.0\". Does a
For Swift use the following:
//set the number (ex. 8 to your desired minimum font size)
myLabel!.minimumScaleFactor = 8/myLabel!.font.pointSize;`
Works like a charm!
Yes minumumFontSize
is deprecated.
Use following minimumScaleFactor:
-
Obj.minimumScaleFactor= (floatValue);
Use minimumScaleFactor instead... Link