<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapView"
  },
  "title" : "MKMapView"
}
-->

# MKMapView

An embeddable map interface, similar to the one that the Maps app provides.

```
class MKMapView
```

## Overview

Use this class as-is to display map information and to manipulate the map contents from your app. The map view supports several display styles, including the [`MKStandardMapConfiguration`](/documentation/MapKit/MKStandardMapConfiguration) that provides rich 2D and 3D presentations, an [`MKHybridMapConfiguration`](/documentation/MapKit/MKHybridMapConfiguration) that provides a hybrid satellite map presentation, and [`MKImageryMapConfiguration`](/documentation/MapKit/MKImageryMapConfiguration) that provides an imagery-based map presentation. Each of these map configurations support customization properties that refine specific elements of the map’s presentation.

You can center the map on specific coordinates, specify the size of the area you want to display, and annotate the map with custom information. When you initialize a map view, you specify the initial region for that map to display by setting the [`region`](/documentation/MapKit/MKMapView/region) property of the map. MapKit defines a region by a center point and a horizontal and vertical distance, referred to as the *span*. The *span* defines how much of the map is visible, and is also how you set the zoom level. For example, specifying a large span results in the user seeing a wide geographical area at a low zoom level, whereas specifying a small span results in a more narrow geographical area and a higher zoom level.

In addition to setting the span programmatically, the `MKMapView` class supports many standard interactions for changing the position and zoom level of the map. In particular, map views support flick and pinch gestures for scrolling around the map and zooming in and out. The map view enables support for these gestures by default. You can enable and disable them using the [`isScrollEnabled`](/documentation/MapKit/MKMapView/isScrollEnabled) and [`isZoomEnabled`](/documentation/MapKit/MKMapView/isZoomEnabled) properties.

You can also use projected map coordinates instead of regions to specify some values. When you project the curved surface of the globe onto a flat surface, you get a two-dimensional version of a map where longitude lines appear to be parallel. To specify locations and distances, you use the [`MKMapPoint`](/documentation/MapKit/MKMapPoint), [`MKMapSize`](/documentation/MapKit/MKMapSize), and [`MKMapRect`](/documentation/MapKit/MKMapRect) data types.

Don’t subclass the `MKMapView` class itself. You can get information about the map view’s behavior by providing a delegate object. The map view calls the methods of your custom delegate to let it know about changes in the map status and to coordinate the display of custom annotations. The delegate object can be any object in your app as long as it conforms to the [`MKMapViewDelegate`](/documentation/MapKit/MKMapViewDelegate) protocol. For more information about implementing the delegate object, see [`MKMapViewDelegate`](/documentation/MapKit/MKMapViewDelegate).

In macOS 10.14 and later, you can apply a light or dark appearance to your maps by modifying the <doc://com.apple.documentation/documentation/AppKit/NSAppearanceCustomization/appearance> property of your map view (or one of its ancestor views). Even if you specify a custom appearance, users can use the Maps app to force all maps to adopt a light appearance. Use the map view’s <doc://com.apple.documentation/documentation/AppKit/NSAppearanceCustomization/effectiveAppearance> property to determine the actual appearance of your map. For information about how to set view appearances, see <doc://com.apple.documentation/documentation/AppKit/choosing-a-specific-appearance-for-your-macos-app>.

### Annotating the map

The `MKMapView` class supports the ability to annotate the map with custom information. Because a map may have large numbers of annotations, map views differentiate between the annotation objects MapKit uses to manage the annotation data and the view objects for presenting that data on the map.

An *annotation object* is any object that conforms to the [`MKAnnotation`](/documentation/MapKit/MKAnnotation) protocol. Typically, you implement annotation objects using existing classes in your app’s data model. This allows you to manipulate the annotation data directly, but still make it available to the map view. Each annotation object contains information about the annotation’s location on the map, along with descriptive information that the map can display in a callout.

An *annotation view*,_ _which is an instance of the [`MKAnnotationView`](/documentation/MapKit/MKAnnotationView) class, handles the presentation of annotation objects on the screen. An annotation view is responsible for presenting the annotation data in a way that makes sense. For example, the Maps app uses a marker icon to denote specific points of interest on a map. The MapKit framework offers the [`MKMarkerAnnotationView`](/documentation/MapKit/MKMarkerAnnotationView) class for similar annotations in your own apps. You can also create annotation views that cover larger portions of the map.

Because the map view needs annotation views only when they’re onscreen, the `MKMapView` class provides a mechanism for queueing annotation views that aren’t in use. The map view detaches annotation views with a reuse identifier and queues them internally when they move offscreen. This feature improves memory use by keeping only a small number of annotation views in memory at once, and by recycling the views you do have. It also improves scrolling performance by alleviating the need to create new views while the map is scrolling.

When configuring your map interface, be sure to add all of your annotation objects right away. The map view uses the coordinate data in each annotation object to determine when the corresponding annotation view needs to appear onscreen. When an annotation moves onscreen, the map view asks its delegate to create a corresponding annotation view. If your app has different types of annotations, it can define different annotation view classes to represent each type.

### Adding overlays to the map

You can use overlays to layer content over a wide portion of the map. An *overlay* object is any object that conforms to the [`MKOverlay`](/documentation/MapKit/MKOverlay) protocol. An overlay object is a data object that contains the points that specify the shape and size of the overlay and its location on the map. Overlays can represent shapes like circles, rectangles, multisegment lines, and simple or complex polygons. You can also define your own custom overlays to represent other shapes.

*Overlay renderer* objects, which are instances of the [`MKOverlayRenderer`](/documentation/MapKit/MKOverlayRenderer) class, handle the presentation of an overlay. The job of the renderer is to draw the overlay’s content onto the screen when the map view requests it. For example, if you have a simple overlay that represents a bus route, you can use a polyline renderer to draw the line segments that trace the route of the bus. You can also define a custom renderer that draws both the bus route and icons at the location of each bus stop. When specifying overlays, you can add them to specific levels of the map, which tells the map view to render them above or below other types of map content.

When configuring your map interface, you can add overlay objects at any time. The map view uses the data in each overlay object to determine when the corresponding overlay view needs to appear onscreen. When an overlay moves onscreen, the map view asks its delegate to create a corresponding overlay renderer.

### Adding points of interest to the map

In iOS16 and macOS 13, and later, you can configure the map view to allow people to interact with a wide variety of points of interest (POIs) the map displays. These are instances of the [`MKMapFeatureAnnotation`](/documentation/MapKit/MKMapFeatureAnnotation) class, and cover a wide variety of elements visible on the map, including:

- Points of interest, such as museums, cafes, parks, and schools.
- Territorial boundaries, such as national borders, state boundaries, and neighborhoods.
- Features on the Earth’s surface, such as mountain ranges, rivers, and ocean basins.

You can control which features a person can interact with by configuring one of the [`MKMapConfiguration`](/documentation/MapKit/MKMapConfiguration) subclasses that defines the map’s presentation. Create an `MKMapConfiguration` with a set of [`MKMapFeatureOptions`](/documentation/MapKit/MKMapFeatureOptions) that describe the categories of POIs the map responds to. To further refine the specific kinds of points of interest the map display presents, use an [`MKPointOfInterestFilter`](/documentation/MapKit/MKPointOfInterestFilter).

When a person interacts with a specific POI, the framework calls your delegate object with one of the [`MKMapViewDelegate`](/documentation/MapKit/MKMapViewDelegate) protocol methods, depending on whether the person selects or deselects a specific POI. These methods give your app a chance to respond to the selection or deselection of an element. Depending on the kind of element, you can decide whether you want to customize the display characteristics in the case of a POI, or in the case of territories or geographic map features, you can create custom interactions to display information.

### Adding Look Around views to the map

iOS16 and macOS 13, and later, support the inclusion of a Look Around view within the map view. Look Around allows people to explore the environment at street level. You request a Look Around view by creating an [`MKLookAroundSceneRequest`](/documentation/MapKit/MKLookAroundSceneRequest) with either an [`MKMapItem`](/documentation/MapKit/MKMapItem) or a <doc://com.apple.documentation/documentation/CoreLocation/CLLocationCoordinate2D>, and if there’s Look Around imagery available for the specified location, the framework returns an [`MKLookAroundScene`](/documentation/MapKit/MKLookAroundScene) for you to display using an [`MKLookAroundViewController`](/documentation/MapKit/MKLookAroundViewController).

## Topics

### Configuring the map appearance

[`var preferredConfiguration: MKMapConfiguration`](/documentation/MapKit/MKMapView/preferredConfiguration)

The characteristics of the map view, including the map type and features the map displays.

[`var pitchButtonVisibility: MKFeatureVisibility`](/documentation/MapKit/MKMapView/pitchButtonVisibility)

A value that indicates whether the map’s pitch button is visible.

[`var showsUserTrackingButton: Bool`](/documentation/MapKit/MKMapView/showsUserTrackingButton)

A Boolean value that indicates whether the map displays the user tracking button.

[`class MKMapConfiguration`](/documentation/MapKit/MKMapConfiguration)

An abstract class that represents the shared elements of map configurations.

[`class MKStandardMapConfiguration`](/documentation/MapKit/MKStandardMapConfiguration)

The class that represents the default map presentation, which is a street map that shows the position of all roads and some road names.

[`class MKHybridMapConfiguration`](/documentation/MapKit/MKHybridMapConfiguration)

The class that represents a satellite image of the area with road and road name information layers on top.

[`class MKImageryMapConfiguration`](/documentation/MapKit/MKImageryMapConfiguration)

The class that represents an imagery-based map presentation, such as one using satellite imagery.

### Customizing the map view behavior

[`var delegate: (any MKMapViewDelegate)?`](/documentation/MapKit/MKMapView/delegate)

The receiver’s delegate.

[`protocol MKMapViewDelegate`](/documentation/MapKit/MKMapViewDelegate)

Optional methods that you use to receive map-related update messages.

### Accessing map properties

[`enum MKMapType`](/documentation/MapKit/MKMapType)

The type of map to display.

[`var isZoomEnabled: Bool`](/documentation/MapKit/MKMapView/isZoomEnabled)

A Boolean value that determines whether the user may use pinch gestures to zoom in and out of the map.

[`var isScrollEnabled: Bool`](/documentation/MapKit/MKMapView/isScrollEnabled)

A Boolean value that determines whether the user may scroll around the map.

[`var isPitchEnabled: Bool`](/documentation/MapKit/MKMapView/isPitchEnabled)

A Boolean value that indicates whether the map uses the camera’s pitch information.

[`var isRotateEnabled: Bool`](/documentation/MapKit/MKMapView/isRotateEnabled)

A Boolean value that indicates whether the map uses the camera’s heading information.

[`var mapType: MKMapType`](/documentation/MapKit/MKMapView/mapType)

The type of data the map view displays.

### Manipulating the visible portion of the map

[`var region: MKCoordinateRegion`](/documentation/MapKit/MKMapView/region)

The area the map view displays.

[`func setRegion(MKCoordinateRegion, animated: Bool)`](/documentation/MapKit/MKMapView/setRegion(_:animated:))

Changes the currently visible region, and optionally animates the change.

[`var centerCoordinate: CLLocationCoordinate2D`](/documentation/MapKit/MKMapView/centerCoordinate)

The map coordinate at the center of the map view.

[`func setCenter(CLLocationCoordinate2D, animated: Bool)`](/documentation/MapKit/MKMapView/setCenter(_:animated:))

Changes the center coordinate of the map, and optionally animates the change.

[`func showAnnotations([any MKAnnotation], animated: Bool)`](/documentation/MapKit/MKMapView/showAnnotations(_:animated:))

Sets the visible region so that the map displays the specified annotations.

[`var visibleMapRect: MKMapRect`](/documentation/MapKit/MKMapView/visibleMapRect)

The area visible in the map view.

[`func setVisibleMapRect(MKMapRect, animated: Bool)`](/documentation/MapKit/MKMapView/setVisibleMapRect(_:animated:))

Changes the currently visible portion of the map, and optionally animates the change.

[`func setVisibleMapRect(MKMapRect, edgePadding: UIEdgeInsets, animated: Bool)`](/documentation/MapKit/MKMapView/setVisibleMapRect(_:edgePadding:animated:))

Changes the currently visible portion of the map, allowing you to specify additional space around the edges.

### Constraining the map view

[`func setCameraBoundary(MKMapView.CameraBoundary?, animated: Bool)`](/documentation/MapKit/MKMapView/setCameraBoundary(_:animated:))

Sets the camera boundary for the map view, specifying whether to use animation.

[`var cameraBoundary: MKMapView.CameraBoundary?`](/documentation/MapKit/MKMapView/cameraBoundary-swift.property)

The boundary of the area within which the map view’s center needs to remain.

[`func setCameraZoomRange(MKMapView.CameraZoomRange?, animated: Bool)`](/documentation/MapKit/MKMapView/setCameraZoomRange(_:animated:))

Sets the camera zoom range for the map view, specifying whether to use animation.

[`var cameraZoomRange: MKMapView.CameraZoomRange!`](/documentation/MapKit/MKMapView/cameraZoomRange-swift.property)

The zoom range to apply to the map view.

[`class CameraBoundary`](/documentation/MapKit/MKMapView/CameraBoundary-swift.class)

A boundary of an area within which the map’s center needs to remain.

[`class CameraZoomRange`](/documentation/MapKit/MKMapView/CameraZoomRange-swift.class)

A camera zoom range that limits the distances to which the user can zoom.

### Configuring the map display

[`func setCamera(MKMapCamera, animated: Bool)`](/documentation/MapKit/MKMapView/setCamera(_:animated:))

Changes the camera to use for determining the map’s viewing parameters, and optionally animates the change.

[`var camera: MKMapCamera`](/documentation/MapKit/MKMapView/camera)

The camera to use for determining the appearance of the map.

[`var showsCompass: Bool`](/documentation/MapKit/MKMapView/showsCompass)

A Boolean value that indicates whether the map displays a compass control.

[`var showsPitchControl: Bool`](/documentation/MapKit/MKMapView/showsPitchControl)

A Boolean value that indicates whether the map displays the pitch control.

[`var showsScale: Bool`](/documentation/MapKit/MKMapView/showsScale)

A Boolean value that indicates whether the map shows scale information.

[`var showsZoomControls: Bool`](/documentation/MapKit/MKMapView/showsZoomControls)

A Boolean value that indicates whether the map displays zoom controls.

[`var showsBuildings: Bool`](/documentation/MapKit/MKMapView/showsBuildings)

A Boolean value that indicates whether the map displays extruded building information on supported map types.

[`var showsPointsOfInterest: Bool`](/documentation/MapKit/MKMapView/showsPointsOfInterest)

A Boolean value that indicates whether the map displays point-of-interest information.

[`var pointOfInterestFilter: MKPointOfInterestFilter?`](/documentation/MapKit/MKMapView/pointOfInterestFilter)

The filter to use for determining the points of interest that appear on the map.

[`var showsTraffic: Bool`](/documentation/MapKit/MKMapView/showsTraffic)

A Boolean value that indicates whether the map displays traffic information.

### Displaying the user’s location

[Converting a user’s location to a descriptive placemark](/documentation/MapKit/converting-a-user-s-location-to-a-descriptive-placemark)

Transform the user’s location that displays on a map into an informative textual description by reverse geocoding.

[`var showsUserLocation: Bool`](/documentation/MapKit/MKMapView/showsUserLocation)

A Boolean value that indicates whether the map tries to display the user’s location.

[`var isUserLocationVisible: Bool`](/documentation/MapKit/MKMapView/isUserLocationVisible)

A Boolean value that indicates whether the user’s location is visible in the map view.

[`var userLocation: MKUserLocation`](/documentation/MapKit/MKMapView/userLocation)

The annotation object that represents the user’s location.

[`var userTrackingMode: MKUserTrackingMode`](/documentation/MapKit/MKMapView/userTrackingMode)

The mode to use for tracking the user’s location.

[`func setUserTrackingMode(MKUserTrackingMode, animated: Bool)`](/documentation/MapKit/MKMapView/setUserTrackingMode(_:animated:))

Sets the mode to use for tracking the user’s location, with optional animation.

[`enum MKUserTrackingMode`](/documentation/MapKit/MKUserTrackingMode)

The mode to use for tracking the user’s location on the map.

### Annotating the map

[`var annotations: [any MKAnnotation]`](/documentation/MapKit/MKMapView/annotations)

The annotations associated with the map view.

[`func addAnnotation(any MKAnnotation)`](/documentation/MapKit/MKMapView/addAnnotation(_:))

Adds the specified annotation to the map view.

[`func addAnnotations([any MKAnnotation])`](/documentation/MapKit/MKMapView/addAnnotations(_:))

Adds an array of annotation objects to the map view.

[`func removeAnnotation(any MKAnnotation)`](/documentation/MapKit/MKMapView/removeAnnotation(_:))

Removes the specified annotation object from the map view.

[`func removeAnnotations([any MKAnnotation])`](/documentation/MapKit/MKMapView/removeAnnotations(_:))

Removes an array of annotation objects from the map view.

[`func annotations(in: MKMapRect) -> Set<AnyHashable>`](/documentation/MapKit/MKMapView/annotations(in:))

Returns the annotation objects within the specified map rectangle.

### Managing annotation selections

[`var annotationVisibleRect: CGRect`](/documentation/MapKit/MKMapView/annotationVisibleRect)

The visible rectangle where the map is displaying annotation views.

[`var selectedAnnotations: [any MKAnnotation]`](/documentation/MapKit/MKMapView/selectedAnnotations)

The selected annotations.

[`func selectAnnotation(any MKAnnotation, animated: Bool)`](/documentation/MapKit/MKMapView/selectAnnotation(_:animated:))

Selects the specified annotation and displays a callout view for it.

[`func deselectAnnotation((any MKAnnotation)?, animated: Bool)`](/documentation/MapKit/MKMapView/deselectAnnotation(_:animated:))

Deselects the specified annotation and hides its callout view.

### Creating annotation views

[`func register(AnyClass?, forAnnotationViewWithReuseIdentifier: String)`](/documentation/MapKit/MKMapView/register(_:forAnnotationViewWithReuseIdentifier:))

Registers an annotation view class that the map can create automatically.

[`func dequeueReusableAnnotationView(withIdentifier: String, for: any MKAnnotation) -> MKAnnotationView`](/documentation/MapKit/MKMapView/dequeueReusableAnnotationView(withIdentifier:for:))

Returns a reusable annotation view using the specified identifier with a specified existing annotation view, if possible.

[`func dequeueReusableAnnotationView(withIdentifier: String) -> MKAnnotationView?`](/documentation/MapKit/MKMapView/dequeueReusableAnnotationView(withIdentifier:))

Returns a reusable annotation view using its identifier.

[`func view(for: any MKAnnotation) -> MKAnnotationView?`](/documentation/MapKit/MKMapView/view(for:)-33w8k)

Returns the annotation view associated with the specified annotation object, if any.

[`let MKMapViewDefaultAnnotationViewReuseIdentifier: String`](/documentation/MapKit/MKMapViewDefaultAnnotationViewReuseIdentifier)

The default reuse identifier for your map’s annotation views.

[`let MKMapViewDefaultClusterAnnotationViewReuseIdentifier: String`](/documentation/MapKit/MKMapViewDefaultClusterAnnotationViewReuseIdentifier)

The default reuse identifier for the annotation view representing a cluster of annotations.

### Accessing overlays

[`var overlays: [any MKOverlay]`](/documentation/MapKit/MKMapView/overlays)

The overlay objects associated with the map view.

[`func overlays(in: MKOverlayLevel) -> [any MKOverlay]`](/documentation/MapKit/MKMapView/overlays(in:))

Returns overlay objects in the specified level of the map.

[`func renderer(for: any MKOverlay) -> MKOverlayRenderer?`](/documentation/MapKit/MKMapView/renderer(for:))

Returns the renderer object for drawing the contents of the specified overlay object.

[`enum MKOverlayLevel`](/documentation/MapKit/MKOverlayLevel)

Constants that indicate the position of overlays relative to other content.

[`func view(for: any MKOverlay) -> MKOverlayView`](/documentation/MapKit/MKMapView/view(for:)-38z60)

Returns the view associated with the overlay object, if any.

### Adding and inserting overlays

[`func addOverlay(any MKOverlay, level: MKOverlayLevel)`](/documentation/MapKit/MKMapView/addOverlay(_:level:))

Adds the overlay object to the map at the specified level.

[`func addOverlays([any MKOverlay], level: MKOverlayLevel)`](/documentation/MapKit/MKMapView/addOverlays(_:level:))

Adds an array of overlay objects to the map at the specified level.

[`func addOverlay(any MKOverlay)`](/documentation/MapKit/MKMapView/addOverlay(_:))

Adds a single overlay object to the map.

[`func addOverlays([any MKOverlay])`](/documentation/MapKit/MKMapView/addOverlays(_:))

Adds an array of overlay objects to the map.

[`func insertOverlay(any MKOverlay, at: Int, level: MKOverlayLevel)`](/documentation/MapKit/MKMapView/insertOverlay(_:at:level:))

Inserts an overlay object into the level at the specified index.

[`func insertOverlay(any MKOverlay, at: Int)`](/documentation/MapKit/MKMapView/insertOverlay(_:at:))

Inserts an overlay object into the list associated with the map.

[`func insertOverlay(any MKOverlay, above: any MKOverlay)`](/documentation/MapKit/MKMapView/insertOverlay(_:above:))

Inserts one overlay object above another.

[`func insertOverlay(any MKOverlay, below: any MKOverlay)`](/documentation/MapKit/MKMapView/insertOverlay(_:below:))

Inserts one overlay object below another.

[`func exchangeOverlay(any MKOverlay, with: any MKOverlay)`](/documentation/MapKit/MKMapView/exchangeOverlay(_:with:))

Exchanges the positions of two overlay objects.

[`func exchangeOverlay(at: Int, withOverlayAt: Int)`](/documentation/MapKit/MKMapView/exchangeOverlay(at:withOverlayAt:))

Exchanges the position of two overlay objects at the specified index.

### Removing overlays

[`func removeOverlay(any MKOverlay)`](/documentation/MapKit/MKMapView/removeOverlay(_:))

Removes a single overlay object from the map.

[`func removeOverlays([any MKOverlay])`](/documentation/MapKit/MKMapView/removeOverlays(_:))

Removes one or more overlay objects from the map.

### Converting map coordinates

[`func convert(CLLocationCoordinate2D, toPointTo: UIView?) -> CGPoint`](/documentation/MapKit/MKMapView/convert(_:toPointTo:))

Converts a map coordinate to a point in the specified view.

[`func convert(CGPoint, toCoordinateFrom: UIView?) -> CLLocationCoordinate2D`](/documentation/MapKit/MKMapView/convert(_:toCoordinateFrom:))

Converts a point in the specified view’s coordinate system to a map coordinate.

[`func convert(MKCoordinateRegion, toRectTo: UIView?) -> CGRect`](/documentation/MapKit/MKMapView/convert(_:toRectTo:))

Converts a map region to a rectangle in the specified view.

[`func convert(CGRect, toRegionFrom: UIView?) -> MKCoordinateRegion`](/documentation/MapKit/MKMapView/convert(_:toRegionFrom:))

Converts a rectangle in the specified view’s coordinate system to a map region.

### Adjusting map regions and rectangles

[`func regionThatFits(MKCoordinateRegion) -> MKCoordinateRegion`](/documentation/MapKit/MKMapView/regionThatFits(_:))

Adjusts the aspect ratio of the specified region to ensure that it fits in the map view’s frame.

[`func mapRectThatFits(MKMapRect) -> MKMapRect`](/documentation/MapKit/MKMapView/mapRectThatFits(_:))

Returns a centered map rectangle with the same aspect ratio as the map view’s frame.

[`func mapRectThatFits(MKMapRect, edgePadding: UIEdgeInsets) -> MKMapRect`](/documentation/MapKit/MKMapView/mapRectThatFits(_:edgePadding:))

Returns a centered, inset map rectangle with the same aspect ratio as the map view’s frame.

### Instance Properties

[`var selectableMapFeatures: MKMapFeatureOptions`](/documentation/MapKit/MKMapView/selectableMapFeatures)

The property that describes which selectable features the map responds to.

## Relationships

### Conforms To

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`NSAppearanceCustomization`](/documentation/AppKit/NSAppearanceCustomization)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`NSStandardKeyBindingResponding`](/documentation/AppKit/NSStandardKeyBindingResponding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSAnimatablePropertyContainer`](/documentation/AppKit/NSAnimatablePropertyContainer)

[`NSUserInterfaceItemIdentification`](/documentation/AppKit/NSUserInterfaceItemIdentification)

[`NSUserActivityRestoring`](/documentation/AppKit/NSUserActivityRestoring)

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

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`NSAccessibilityElementProtocol`](/documentation/AppKit/NSAccessibilityElementProtocol)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`Sendable`](/documentation/Swift/Sendable)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`NSDraggingDestination`](/documentation/AppKit/NSDraggingDestination)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`NSAccessibilityProtocol`](/documentation/AppKit/NSAccessibilityProtocol)

### Inherits From

[`NSView`](/documentation/AppKit/NSView)

[`UIView`](/documentation/UIKit/UIView)

---

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)