<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMutableCaption/removeFontStyle(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So16AVMutableCaptionC12AVFoundationE15removeFontStyle2inySo8_NSRangeV_tF"
  },
  "title" : "removeFontStyle(in:)"
}
-->

# removeFontStyle(in:)

Removes a font style from a range of text.

```
@nonobjc func removeFontStyle(in range: NSRange)
```

## Parameters

`range`

The range from which to remove the style.

---

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)