One Logo Pool Ball
_MapKit_SwiftUI · IOS API REFERENCE

PointOfInterestCategories

struct · iOS 17.0+ · SDK 27.1

struct PointOfInterestCategories

Point of Interest categories to be shown.

Members (4)

get · iOS 17.0+

excludingAll

TypeScript
static get excludingAll(): PointOfInterestCategories
Swift declaration
static var excludingAll: PointOfInterestCategories { get }

Do not show points of interest.

get · iOS 17.0+

all

TypeScript
static get all(): PointOfInterestCategories
Swift declaration
static var all: PointOfInterestCategories { get }

Show all points of interest.

static · iOS 17.0+

excluding

TypeScript
static excluding(categories: Array<_MapKit_MKPointOfInterestCategory>): PointOfInterestCategories
Swift declaration
static func excluding(_ categories: [MKPointOfInterestCategory]) -> PointOfInterestCategories

Show all points of interest except those belonging to certain categories.

static · iOS 17.0+

including

TypeScript
static including(categories: Array<_MapKit_MKPointOfInterestCategory>): PointOfInterestCategories
Swift declaration
static func including(_ categories: [MKPointOfInterestCategory]) -> PointOfInterestCategories

Show only points of interest belonging to certain categories.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PointOfInterestCategories.including(_:)

A variable number of Swift arguments is not supported.

PointOfInterestCategories.excluding(_:)

A variable number of Swift arguments is not supported.

PointOfInterestCategories.init(arrayLiteral:)

A variable number of Swift arguments is not supported.

All _MapKit_SwiftUI types →