My code has stopped working in iOS 13. In my UIImagePickerController delegate I look to see if the media type returned (the type of thing the user chose) is a live photo. If it is, I use the .livePhoto key to get the PHLivePhoto. This used to work. But in iOS 13 this key's value is always nil. How can I get the live photo that the user chose?
UIImagePickerController doesn't return a live photo in iOS 13
322 views Asked by matt At
1
There are 1 answers
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in UIIMAGEPICKERCONTROLLER
- UIImagePickerController crashes and throws errors after replacing image a few times
- Flutter image_picker - pickImage(source: ImageSource.camera) crashes on ios 17+
- How to use a volumebuttonhandler to take a picture in iOS
- How to get the crop rect of UIImagePickerController?
- Getting the actual camera-preview frame when using UIImagePickerController
- Get part of the image taken with default camera
- Expo imagepicker pops up twice after permission is granted on iOS
- Swift AVAssetExport Session operation stoped
- When I pick image from library, the message below always appears. Why?
- When I pick an image using UIImagePickerController, I am presented with AX Lookup problem - errorCode:1100
- Error dismissing image picking and cropping views when using TOCropViewController to pick images in SwiftUI
- New PhotosPicker in SwiftUI can open camera instead of the photoLibrary
- NSInvalidArgumentException', reason: 'The Live Photo type cannot be specified without the Image media type'
- why does UIImagePickerController.isSourceTypeAvailable(.camera) return true when using the simulator
- UIImagePickerController shows all photos even if I choose "Select Photos.." option Swift
Related Questions in IOS13
- Trying to use Custom URL for opening my app, APP Delegate is not working
- iOS 13 ObservedObject is not updating the UI while StateObject doing same in iOS 14
- how to get statusBar in iOS 13+?
- iOS 13 setting content inset on collection view with compositional layout causes jump
- SwiftUI equivalent of UIStackView.Distribution.fillEqually
- How to update variable in Singleton pattern
- MongoDB installation with macOS 13 (Ventura) (command line errors)
- Swift: How can I change backgroundFetchIntervalMinimum with BGAppRefreshTask
- How to show the same object in different sections by using Diffable data sources?
- Search Bar Left Image Tint Change iOS for Dark Mode
- Insecure.MD5 in iOS13.0 get incorrect result
- How to make a shadow on iOS13
- WKURLSchemeHandler crashed on ios13,but ios12 or ios13 later it's works fine
- using SwiftUI, when scrolling, VStack inside Section shrinks and expands
- React Native 0.68 upgrade issue in iOS
Related Questions in PHLIVEPHOTO
- Motion not available ios 17 live photo
- Quicklook for Live Photo?
- Can't generate live photo in iOS 15.1
- How to get original file URL from a LivePhoto's video asset without saving its resource locally? (iOS)
- Edit Custom Metadata on a JPG file - Live Photo
- Looping an iOS live photo programmatically in SwiftUI
- Getting a live image (PHLivePhoto) when in a sharing extension using the Photos app
- SwiftUI: how to resize the UIViewRepresentable output?
- How to display PHLivePhotoView in SwiftUI
- Convert a video into an IOS Live Photo format without an Apple device
- How to change Live Photo metadata to convert to Loop or Bounce?
- UIImagePickerController doesn't return a live photo in iOS 13
- Process Live Photos on multiple threads
- How to disable the Haptic Feedback when playing a Live Photo
- Export LivePhoto via UIActivityViewController - Swift
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I regard this change in behavior as a bug. However, if you have permission to access the user's photo library, you can use the
.phAssetvalue, a PHAsset, to get the corresponding PHLivePhoto directly from the photo library yourself.