---
title: kCGImagePropertyAPNGLoopCount
framework: imageio
role: symbol
role_heading: Global Variable
path: imageio/kcgimagepropertyapngloopcount
---

# kCGImagePropertyAPNGLoopCount

The number of times that an animated PNG should play through its frames before stopping.

## Declaration

```swift
let kCGImagePropertyAPNGLoopCount: CFString
```

## Discussion

Discussion A value of 0 means the PNG repeats forever.

## See Also

### Sequence Timing

- [kCGImagePropertyAPNGFrameInfoArray](imageio/kcgimagepropertyapngframeinfoarray.md)
- [kCGImagePropertyAPNGDelayTime](imageio/kcgimagepropertyapngdelaytime.md)
- [kCGImagePropertyAPNGUnclampedDelayTime](imageio/kcgimagepropertyapngunclampeddelaytime.md)
