<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIContentUnavailableTextProperties",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIContentUnavailableTextProperties"
  },
  "title" : "UIContentUnavailableTextProperties"
}
-->

# UIContentUnavailableTextProperties

Properties configuring the appearance of text in a content-unavailable view.

```
@interface UIContentUnavailableTextProperties : NSObject
```

## Topics

### Instance Properties

[`@property (nonatomic) BOOL adjustsFontSizeToFitWidth;`](/documentation/UIKit/UIContentUnavailableTextProperties/adjustsFontSizeToFitWidth)

A Boolean value indicating whether the view modifies the font size of the text to fit the available width.

[`@property (nonatomic) BOOL allowsDefaultTighteningForTruncation;`](/documentation/UIKit/UIContentUnavailableTextProperties/allowsDefaultTighteningForTruncation)

A Boolean value that determines whether the view tightens text before truncating.

[`@property (nonatomic, strong) UIColor * color;`](/documentation/UIKit/UIContentUnavailableTextProperties/color)

The color of the text.

[`@property (nonatomic, strong) UIFont * font;`](/documentation/UIKit/UIContentUnavailableTextProperties/font)

The font of the text.

[`@property (nonatomic) NSLineBreakMode lineBreakMode;`](/documentation/UIKit/UIContentUnavailableTextProperties/lineBreakMode)

The technique for wrapping and truncating the text.

[`@property (nonatomic) CGFloat minimumScaleFactor;`](/documentation/UIKit/UIContentUnavailableTextProperties/minimumScaleFactor)

The minimum scale factor for the text.

[`@property (nonatomic) NSInteger numberOfLines;`](/documentation/UIKit/UIContentUnavailableTextProperties/numberOfLines)

The maximum number of lines for the text.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

---

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)