I saw on another thread that there is a new revision of VNRecognizeTextRequest (v3), but I can’t find it in the documentation: how can I enable it and can I “force” Vision to use a “minimum revision” (for example, 3 and later)?

From a non-Apple developer:

I handle code from Beta SDKs like this:

#if defined(MAC_OS_VERSION_13_0) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_VERSION_13_0
#warn "if you can see this, it's time to remove the #if."
    if (@available(macOS 13.0, *))
    {
        revision = VNRecognizeTextRequestRevision3;
    }
#endif
Tagged with: