Mac Catalyst 17.0 and AVFoundation

the code found in the file "Camera" in the template for "Capturing Photos" gives warnings that say

How can I go around this by still keeping the same functions as the original "Camera" file? I am using a features that REQUIRES Mac Catalyst 17.0 or above.

Post not yet marked as solved Up vote post of Pokka Down vote post of Pokka
323 views