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

narek adonts

Well-Known Member
Licensed User
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

cloner7801

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

In iPhone 7 or simulator
 

JanPRO

Well-Known Member
Licensed 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
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
Top