Edit

Share via


UIFontDescriptor.CreateWithFamily(String) Method

Definition

Creates a new UIFontDescriptor based on setting a font family to the current descriptor.

[Foundation.Export("fontDescriptorWithFamily:")]
public virtual UIKit.UIFontDescriptor CreateWithFamily (string newFamily);
abstract member CreateWithFamily : string -> UIKit.UIFontDescriptor
override this.CreateWithFamily : string -> UIKit.UIFontDescriptor

Parameters

newFamily
String

New font family to use.

Returns

New UIFontDescriptor containing the added font family.

Attributes

Remarks

This can be used from a background thread.

Applies to