<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPNowPlayingSportsTeam/init(name:logo:teamStandings:eventScore:possessionIndicator:favorite:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPNowPlayingSportsTeam(im)initWithName:logo:teamStandings:eventScore:possessionIndicator:favorite:"
  },
  "title" : "init(name:logo:teamStandings:eventScore:possessionIndicator:favorite:)"
}
-->

# init(name:logo:teamStandings:eventScore:possessionIndicator:favorite:)

Initialize a sports team for display on the now playing screen.

```
init(name: String, logo: CPNowPlayingSportsTeamLogo, teamStandings: String?, eventScore: String, possessionIndicator: UIImage?, favorite: Bool)
```

## Parameters

`name`

A localized, user-visible name for this sports team.

`logo`

The team logo or, if no logo is available, the initials/abbreviation for this team.

`teamStandings`

An optional additional label displayed near the team name. This could be a
win-loss ratio string, team standings, or other statistics relevant to this team.
Depending on the size of the car screen, a maximum of 15-20 characters may
be displayed.

`eventScore`

The score string for this team in the current event. Depending on the size
of the car screen, a maximum of 3 to 5 characters may be displayed.

`possessionIndicator`

An optional indicator used to indicate possession by this team.
Only one team should have possession at a given time.

`favorite`

If true, the team is marked with a star to indicate it has been saved as a
user favorite.

---

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)