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

# truncatedGlyphRange(inLineFragmentForGlyphAt:)

Returns the range of truncated glyphs for a line fragment that contains the specified index.

```
func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange
```

## Parameters

`glyphIndex`

A glyph whose line fragment is tested.

## Return Value

The range of truncated glyphs for a line fragment containing the specified glyph, or, when there is no truncation for the line fragment, `{NSNotFound, 0}`.

---

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)