Application crashes when closing the screen with AVKit
xcode error My app crashes when closing the screen with AVKit. The problem occurs both on a physical device and on the simulator. On the simulator, it happens rarely, but on an iPhone, the app crashes every time.