---
title: "init(excluding:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mkpointofinterestfilter/init(excluding:)"
---

# init(excluding:)

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

## Declaration

```swift
init(excluding categories: [MKPointOfInterestCategory])
```

## Parameters

- `categories`: An array of categories to exclude.

## See Also

### Creating filters

- [excludingAll](mapkit/mkpointofinterestfilter/excludingall.md)
- [includingAll](mapkit/mkpointofinterestfilter/includingall.md)
- [init(including:)](mapkit/mkpointofinterestfilter/init(including:).md)
