Post

Replies

Boosts

Views

Activity

UIActivityViewController can't share video in > iOS 14.0
Hi, I share a video which gets from PHImageManager.default().requestAVAsset that I use UIActivityViewController for sharing. The debug gives the error: "Operation not permitted" UserInfo={NSLocalizedDescription=Could not create sandbox extension of type com.apple.app-sandbox.read for URL /var/mobile/Media/DCIM/101APPLE/IMG_1416.MOV} which the iOS 14.0 not appear. I don't know why happening. Any suggestion, how can I fix it?
1
0
755
Apr ’21
Photo app auto changes the video thumbnail
Hi, I have a video .MOV file in external storage. After I copy it from my external storage into my phone and using : PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: URL) that was successful save into Photo app and the thumbnail at this moment is the first frame of video. After a short period of time, the thumbnail of video auto changes into the other frame.
0
0
543
Mar ’21
UIImageWriteToSavedPhotosAlbum
Hi, I have a photo from an external device that I've already copy from PHAsset (the file size is the same), then when I restore that one with the function UIImageWriteToSavedPhotosAlbum for saving it into the iPhone photos library back. The quality is still ok but the file size has been changed. I tested several photos and here is some results: 2.56 MB => 3.73 MB 2.07 MB => 3.24 MB 2.21 MB => 3.41 MB I don't know what is going on. Somebody can help me with this?
0
0
578
Feb ’21