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

# MKPointOfInterestFilter

A filter that includes or excludes point of interest categories from a map view, local search, or local search completer.

```
class MKPointOfInterestFilter
```

## Overview

You can apply a point of interest filter in a map view ([`pointOfInterestFilter`](/documentation/MapKit/MKMapView/pointOfInterestFilter)), a local search request ([`pointOfInterestFilter`](/documentation/MapKit/MKLocalSearchCompleter/pointOfInterestFilter)), a search completer ([`pointOfInterestFilter`](/documentation/MapKit/MKLocalSearchCompleter/pointOfInterestFilter)), and in snapshot options ([`pointOfInterestFilter`](/documentation/MapKit/MKMapSnapshotter/Options/pointOfInterestFilter)).

## Topics

### Creating filters

[`filterExcludingAllCategories`](/documentation/MapKit/MKPointOfInterestFilter/excludingAll)

A filter that excludes all point of interest categories.

[`filterIncludingAllCategories`](/documentation/MapKit/MKPointOfInterestFilter/includingAll)

A filter that includes all point of interest categories.

[`-  initExcludingCategories:`](/documentation/MapKit/MKPointOfInterestFilter/init(excluding:))

Initialize the point of interest filter with a list of categories to exclude.

[`-  initIncludingCategories:`](/documentation/MapKit/MKPointOfInterestFilter/init(including:))

Initialize the point of interest filter with a list of categories to include.

### Querying filter behavior

[`-  excludesCategory:`](/documentation/MapKit/MKPointOfInterestFilter/excludes(_:))

Returns a Boolean value indicating whether the filter excludes the point of interest category.

[`-  includesCategory:`](/documentation/MapKit/MKPointOfInterestFilter/includes(_:))

Returns a Boolean value indicating whether the filter includes the point of interest category.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

### 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)