---
title: anchorPoint
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/anchorpoint
---

# anchorPoint

The anchor point of the view’s bounds rectangle.

## Declaration

```swift
var anchorPoint: CGPoint { get set }
```

## Discussion

Discussion You specify the value for this property using the unit coordinate space, where (0, 0) is the bottom-left corner of the view’s bounds rectangle, and (1, 1) is the top-right corner. The default value of this property is (0.5, 0.5), which represents the center of the view’s bounds rectangle. All geometric manipulations to the view occur about the specified point. For example, applying a rotation transform to a view with the default anchor point causes the view to rotate around its center. Changing the anchor point to a different location causes the view to rotate around that new point.

## See Also

### Configuring the bounds and frame rectangles

- [frame](uikit/uiview/frame.md)
- [bounds](uikit/uiview/bounds.md)
- [center](uikit/uiview/center.md)
- [transform](uikit/uiview/transform.md)
- [transform3D](uikit/uiview/transform3d.md)
