<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaAccessibility",
  "identifier" : "/documentation/MediaAccessibility/MAFlashingLightsProcessor/canProcessSurface(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Accessibility"
    ],
    "preciseIdentifier" : "c:objc(cs)MAFlashingLightsProcessor(im)canProcessSurface:"
  },
  "title" : "canProcessSurface(_:)"
}
-->

# canProcessSurface(_:)

Returns a Boolean value that indicates whether the flashing lights processor can process the content in the surface for sequences of flashing lights.

```
func canProcessSurface(_ surface: IOSurfaceRef) -> Bool
```

## Parameters

`surface`

The <doc://com.apple.documentation/documentation/IOSurface/IOSurfaceRef> to process for flashing lights.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the processor can process the content in the surface for flashing lights. <doc://com.apple.documentation/documentation/Swift/false> if the processor can’t process the surface, which can occur for unsupported hardware or unsupported color spaces.

---

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)