Hi, My requirement is to display ios UILabel text single line, if text size is large decrease font size of label. How to achieve in forms. If not in form how to do in CustomLabelRenderer. I used below properties in CustomLabelRenderer in iOS but its not working. Please do need helpful.
iOS Renderer Code:
protected override void OnElementChanged (ElementChangedEventArgs<Xamarin.Forms.Label> e)
{
base.OnElementChanged (e);
AutoShinkLabel el = Element as AutoShinkLabel;
var labelTextField = (UILabel)Control;
labelTextField.AudjustsFontSizeToFitWidth = true;
labelTextField.MinimumScaleFactor = 0.6f;
}