B4i Library ALAssets - Wraps the Native ALAssets Framework (Photos)

Hi,

Please find attached a tiny wrapper for the native ALAssets framework of iOS which let you get all the photos from the phone, put photos, create album, ...
I have added the basic features like get all assets, albums, thumbnails, create album, put an asset to an album,...

You can add a lot of new feature to it as it return the native objects.

please let me know the features that are missing.

Please see the example attached. It is a basic photo viewer app. VERY SIMPLE

regards

Narek
 

Attachments

  • ALAssets.zip
    6.1 KB · Views: 121

cloner7801

Active Member
Licensed User
Longtime User
When build example project , application opened ! and after that crash ! without log !

In iPhone 7 or simulator
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Since iOS 10 you have to add the photo library usage description. So just add the following PlistExtra:

B4X:
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>For selecting photos</string>

Jan
 

cloner7801

Active Member
Licensed User
Longtime User
Since iOS 10 you have to add the photo library usage description. So just add the following PlistExtra:

B4X:
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>For selecting photos</string>

Jan
Solved, thanks Jan.
 

JackKirk

Well-Known Member
Licensed User
Longtime User

ilan

Expert
Licensed User
Longtime User
really awesome @narek adonts.
is it maybe possible to get the size of the file (in kb) and also the name of the file?

thank you
 
Last edited:
Top