iOS Question Multiple choice of photos in ios

red30

Well-Known Member
Licensed User
Longtime User
There is an excellent iQBImagePicker library for ios. This library is very simple and allows you to solve the problem of selecting multiple photos, but as I understood from the author CaptKronos (who wrote the wrapper), this library is no longer supported. I used this library, but I ran into a problem that when there are a lot of photos (100 or more), I have to click on each one to select a photo. This takes a lot of time. In android, this is implemented by holding on one photo and dragging through to the last required photo. Can someone help with adding this functionality to this library? I tried to figure it out myself, but my knowledge is not enough to add this function.
Are there any other libraries that implement this function?
B4i is an excellent tool for developing ios applications, I have just started to study it, so I may not know a lot ...
 

red30

Well-Known Member
Licensed User
Longtime User
I get an error when I run ALAssets on my iphone from this link:
B4X:
Error occurred on line: 130 (Main)
Signal - 6
Stack Trace: (
    "0   ALAssets             SignalHandler + 120",
    "1   libsystem_platform.dylib            0x00000001e879dd90 3A71914A-C2A7-3514-B519-DF319E7A6E02 + 28048",
    "2   libsystem_kernel.dylib              0x00000001cbecb9c0 782E667E-18A2-3B98-B53D-BFC9A4A701B7 + 174528",
    "3   libsystem_kernel.dylib              0x00000001cbecb9f0 782E667E-18A2-3B98-B53D-BFC9A4A701B7 + 174576",
    "4   TCC                  TCCAccessRequest + 0",
    "5   TCC                  0D0D2D73-95A9-3C9A-8B37-3FD5213A4599 + 42440",
    "6   TCC                  0D0D2D73-95A9-3C9A-8B37-3FD5213A4599 + 29444",
    "7   libxpc.dylib         9B754030-D4B6-3814-8840-D3DAC9C54212 + 99520",
    "8   libxpc.dylib         9B754030-D4B6-3814-8840-D3DAC9C54212 + 52264",
    "9   libdispatch.dylib    AF27E74C-BE4A-3364-BB27-AED9916CE02D + 398080"
)
I tried to figure it out with XALAssets, but I don't understand how to use it for my task ... I need to click a button so that the user selects several photos and then I upload them to my server.
 
Upvote 0

red30

Well-Known Member
Licensed User
Longtime User
This error might be related to a missing PList description. Try to add the photo library usage description: https://www.b4x.com/android/forum/threads/imedia-library-camera-and-videoview.46144/#content
Yes, if you add PList, then ALAssets starts.
But this library just displays all the photos on my device, and with a three-fold repetition. I cannot select a few photos here, as I need. I would like to get an analogue of ContentChooser, like in adroid. iQBImagePicker copes with this task perfectly, there is only a problem when you need to select a lot of photos, as I wrote above ...
 
Upvote 0

red30

Well-Known Member
Licensed User
Longtime User
Searching for other libraries or changing iQBImagePicker did not lead me to anything ... Maybe someone else has some other options for solving this problem? Any help would be appreciated!
 
Upvote 0
Top