visionKit

I might be mistaken, but I believe visionKit has been made integral to ios16 and/or xCode14. My app now has a lot of visionKit entries in the log. I have a sense that this is expensive on a scrolling tableview of videos. First, how is it possible to simply prevent the prying eyes of visionKit from performing their invasive tasks? Second, am I mistaken about the added weight, especially once the kit gets its teeth into a video? Third, is this why the controls do not show up, because no displayed controls is very confusing to the app user?

TIA

Answered by DTS Engineer in 730031022

Hello,

As noted in this WWDC video, Live Text has been integrated with AVKit, and is enabled by default.

It depends a little bit on how exactly you are displaying the videos, but assuming you are using AVPlayerViewController, you can disable Live Text by setting allowsVideoFrameAnalysis to false.

Accepted Answer

Hello,

As noted in this WWDC video, Live Text has been integrated with AVKit, and is enabled by default.

It depends a little bit on how exactly you are displaying the videos, but assuming you are using AVPlayerViewController, you can disable Live Text by setting allowsVideoFrameAnalysis to false.

visionKit
 
 
Q