Post

Replies

Boosts

Views

Activity

Reply to How to get image file name in PHPickerViewController, that is, after selecting multiple images from photo library?
Got the solution: Inside the 'picker' function func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) { } while iterating through the imported images array put guard let imgFileName = photo.itemProvider.suggestedName else { return } for each image, the 'imgFileName' will give the file name in string (without file extension though).
Jun ’22
Reply to i don't know how to fix it, please Help
After entering 'bt' in the LLDB prompt, I got this: `(lldb) bt thread #1, stop reason = signal SIGABRT frame #0: 0x000000020486d98e dyld__abort_with_payload + 10 frame #1: 0x0000000204883a72 dyldabort_with_payload_wrapper_internal + 80 frame #2: 0x0000000204883aa4 dyldabort_with_payload + 9 frame #3: 0x000000010ced38eb dyld_simabort_with_payload + 26 frame #4: 0x000000010ce934eb dyld_simdyld4::halt(char const*) + 375 frame #5: 0x000000010ce8fc1c dyld_simdyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3070 frame #6: 0x000000010ce8fe42 dyld_sim_dyld_sim_prepare + 379 frame #7: 0x000000020482db78 dylddyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1265 frame #8: 0x000000020482c70e dylddyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244 frame #9: 0x000000020482c4e4 dyldstart + 388` Can anyone help me?
Nov ’22