I\'m trying to capture a UIVIew as an image, which I can then manipulate. I have code that works in Xcode 11.7/simulator (running iOS 13.7), but throws this error :