Although [INImage imageWithUIImage:]
method is documented, it doesn't exist in the actual framework (iOS 15)!
INImage imageWithUIImage: doesn't exist
I agree!
imageWithCGImage also seems to be missing.
However, imageWithImageData seems to be available, so you could try calling that, with the data from your UIImage?
(e.g. using UIImagePNGRepresentation)
Xcode 13.1 (13A1030d)
This method is implemented in the IntentsUI framework. Make sure you are importing that.