TGCameraViewController icon indicating copy to clipboard operation
TGCameraViewController copied to clipboard

ALAssetsLibrary is deprecated iOS9

Open Stan92 opened this issue 8 years ago • 4 comments

Hi, How to fix this warning message (ALAssetsLibrary is deprecated use PHPPhotoLibrary)? Thanks..

Stan92 avatar Jul 30 '16 14:07 Stan92

The library needs to be updated to use PHPhotoLibrary. For now there's not much you can do, but if you import the library using CocoaPods you won't have this warning in your project.

macecchi avatar Aug 01 '16 15:08 macecchi

I used Pod for importing the project

Stan92 avatar Aug 01 '16 15:08 Stan92

Sorry. For some reason when I'm using CocoaPods the warnings don't show up.

Try using this in your Podfile:

pod 'TGCameraViewController', :inhibit_warnings => true

Source: https://guides.cocoapods.org/syntax/podfile.html#inhibit_all_warnings_bang

macecchi avatar Aug 01 '16 16:08 macecchi

No problem.. I got the same warnings.. using the additional parameters. Anyway, I m not blocked cause your library works for the moment. I thank you once again for your support.


After running an update pod, the warning has been disappeared.

Stan92 avatar Aug 01 '16 16:08 Stan92