I have problem when I handle image in Action Extension:
It crashed when I set image to UIPasteboard or handle Image
The message is:
As far as I find out: From iOS 13 and earlier, only the Widget Extension is limited to 16mb of memory, another like Action Extension is limited of 120mb.
So, Is this proplem is a bug of iOS 14.0?
My Environment:
It crashed when I set image to UIPasteboard or handle Image
Code Block UIPasteboard.general.image = image or let dataCompress = image.jpegData(compressionQuality: value)!
The message is:
This proplem occur since iOS 14.0 . It do not occur in iOS < 13Thread 2: EXCRESOURCE RESOURCETYPE_MEMORY (limit=16 MB, unused=0x0)
As far as I find out: From iOS 13 and earlier, only the Widget Extension is limited to 16mb of memory, another like Action Extension is limited of 120mb.
So, Is this proplem is a bug of iOS 14.0?
My Environment:
Anyone have any solution? Many thank.xCode 12.0/11.7, iphone 11 pro max iOS 14.0