<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPSportsOverlay",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPSportsOverlay"
  },
  "title" : "CPSportsOverlay"
}
-->

# CPSportsOverlay

A sports overlay that displays left and right team information.

```
@MainActor class CPSportsOverlay
```

## Topics

### Initializers

[`init?(coder: NSCoder)`](/documentation/CarPlay/CPSportsOverlay/init(coder:))

[`init(leftTeam: CPNowPlayingSportsTeam, rightTeam: CPNowPlayingSportsTeam, eventStatus: CPNowPlayingSportsEventStatus?)`](/documentation/CarPlay/CPSportsOverlay/init(leftTeam:rightTeam:eventStatus:))

Initialize a sports overlay with left and right team objects.

### Instance Properties

[`var eventStatus: CPNowPlayingSportsEventStatus?`](/documentation/CarPlay/CPSportsOverlay/eventStatus)

The event status label.

[`var leftTeam: CPNowPlayingSportsTeam`](/documentation/CarPlay/CPSportsOverlay/leftTeam)

The left team information.

[`var rightTeam: CPNowPlayingSportsTeam`](/documentation/CarPlay/CPSportsOverlay/rightTeam)

The right team information.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

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

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

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

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

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

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

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

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

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

---

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)