Hi, I am following this blog for selecting multiple pictures from the gallery. For IOS I am Using GMImagePicker
for selecting multiple pictures from the gallery.(In the blog suggesting elcimagepicker, but that is not available in Nuget Store now)
I go through the GMImagePicker
usage part but didn't find how to add the selected images to List
and pass that value in MessagingCenter
(like the android implementation). In that usage part only telling about the picker settings. Anyone please give me any sample code for doing this feature?
Answers
I created a sample for iOS part.
Thanks, I will go through this and update you...
hi, @ColeX One question
Sending only one picture path by
MessagingCenter
. Why you avoidList
as we use in the android part?Is this work?
@Sreeee Because the method
PHImageManager.DefaultManager.RequestImageData
is executed asynchronously. SoMessagingCenter.Send
will be called earlier thanRequestImageData
. So ,when you call the MessagingCenter.Send ,the list still null.Hi @ColeX and @Quintán
When I build the project in Mac getting an error:
Any casting needed?
Update: Removed double quotes and add single quotes solved that problem.
@Sreeee I have downloaded your project and it works fine.
Did you make any modifications?
No , just cleaned and rebuilded the project.
Hi,
My app is crashing after iOS 13 update when I tried to use GMImagePicker. It was working fine in the earlier versions. Can anybody suggest me a workaround?
=================================================================
Native Crash Reporting
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
=================================================================
Basic Fault
Address Reporting
Memory around native instruction pointer (0x10b3e6a54):0x10b3e6a44 8b 47 1c 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 .G.]........UH..
0x10b3e6a54 8b 47 20 a9 00 00 00 02 75 0c a9 00 00 00 10 75 .G .....u......u
0x10b3e6a64 26 48 8b 07 5d c3 48 8d 3d 89 1f 1f 00 48 8d 35 &H..].H.=....H.5
0x10b3e6a74 e9 1a 1f 00 48 8d 0d 5d 1b 1f 00 ba 79 03 00 00 ....H..]....y...
=================================================================
Managed Stacktrace:
at :runtime_invoke_void_object <0x00352>
Hi,
My app is crashing after iOS 13 update when I tried to use GMImagePicker. It was working fine in the earlier versions. Can anybody suggest me a workaround?
=================================================================
Native Crash Reporting
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
=================================================================
Basic Fault
Address Reporting
Memory around native instruction pointer (0x10b3e6a54):0x10b3e6a44 8b 47 1c 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 .G.]........UH..
0x10b3e6a54 8b 47 20 a9 00 00 00 02 75 0c a9 00 00 00 10 75 .G .....u......u
0x10b3e6a64 26 48 8b 07 5d c3 48 8d 3d 89 1f 1f 00 48 8d 35 &H..].H.=....H.5
0x10b3e6a74 e9 1a 1f 00 48 8d 0d 5d 1b 1f 00 ba 79 03 00 00 ....H..]....y...
=================================================================
Managed Stacktrace:
at :runtime_invoke_void_object <0x00352>