<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFontDescriptor/withFace(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFontDescriptor(im)fontDescriptorWithFace:"
  },
  "title" : "withFace(_:)"
}
-->

# withFace(_:)

Returns a new font descriptor that’s the same as the existing font descriptor, but with the specified face.

```
func withFace(_ newFace: String) -> UIFontDescriptor
```

## Parameters

`newFace`

The new font face.

## Return Value

The new font descriptor.

## See Also

[`fontDescriptorWithFontAttributes:`](/documentation/UIKit/UIFontDescriptor/fontDescriptorWithFontAttributes:)

Returns a font descriptor with a dictionary of attributes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)