<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlayerView/flashChapterNumber(_:chapterTitle:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerView(im)flashChapterNumber:chapterTitle:"
  },
  "title" : "flashChapterNumber(_:chapterTitle:)"
}
-->

# flashChapterNumber(_:chapterTitle:)

Displays the chapter number and title in the player view for a brief moment.

```
func flashChapterNumber(_ chapterNumber: Int, chapterTitle: String?)
```

## Parameters

`chapterNumber`

The chapter number.

`chapterTitle`

The chapter title. This value is optional and can be `nil`.

---

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)