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

# UIOverlayArrangementViewProperties

Properties you use to customize how an overlay arrangement presents a view.

```
@interface UIOverlayArrangementViewProperties : NSObject
```

## Overview

You can adjust how the overlay arrangement positions the primary and secondary views on a folded iPhone Duo with view properties. For example, if you would prefer the primary view to appear in the leading position instead of the trailing position when someone holds a folded iPhone Duo in landscape orientation, customize the overlay arrangement with view properties.

Start by creating a [`UIOverlayArrangement`](/documentation/UIKit/UIOverlayArrangement-c.class) instance and a [`UIOverlayArrangementViewProperties`](/documentation/UIKit/UIOverlayArrangementViewProperties) instance:

```objc
UIOverlayArrangement *overlayArrangement = [UIOverlayArrangement overlayArrangement];
UIOverlayArrangementViewProperties *primaryViewProperties = [overlayArrangement.defaultViewProperties copy];
```

Specify an edge for the [`edge`](/documentation/UIKit/UIOverlayArrangementViewProperties/edge) property, and then update the overlay arrangement and arrangement view controller:

```objc
primaryViewProperties.edge = NSDirectionalRectEdgeLeading;
[overlayArrangement setViewProperties:primaryViewProperties forPlacement:UIArrangementViewControllerViewPlacementPrimary];
[arrangementViewController updateArrangement:overlayArrangement animated:NO];
```

## Topics

### Creating view properties

[`- (instancetype) init;`](/documentation/UIKit/UIOverlayArrangementViewProperties/init)

Creates a set of overlay arrangement view properties.

### Configuring the view

[`@property (nonatomic) NSDirectionalRectEdge edge;`](/documentation/UIKit/UIOverlayArrangementViewProperties/edge)

The edge the view occupies when the overlay arrangement transitions to a side-by-side layout.

## Relationships

### Conforms To

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

### Inherits From

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

---

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)