some problems with vision kit

I integrated Visionkit into my app, to get content of an image. That works really fine. Now I realized that iPhone8 crashes on launching the app, because of the following code:
available(iOS 17, *) extension Details: ImageAnalysisInteractionDelegate {} is there a workaround for older versions?

some problems with vision kit
 
 
Q