<!--
{
  "availability" : [
    "iOS: 5.0.0 - 7.0.0",
    "iPadOS: 5.0.0 - 7.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextAttributeTextShadowOffset",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UITextAttributeTextShadowOffset"
  },
  "title" : "UITextAttributeTextShadowOffset"
}
-->

# UITextAttributeTextShadowOffset

The key to the offset for the text shadow in a text attributes dictionary.

```
extern NSString * const UITextAttributeTextShadowOffset;
```

## Discussion

The corresponding value is an instance of <doc://com.apple.documentation/documentation/Foundation/NSValue> wrapping a [`UIOffset`](/documentation/UIKit/UIOffset) struct.

---

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)