You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ALAssetsLibrary saveImage:toAlbum:completion:failure:]: unrecognized selector sent to instance
#31
Open
auriga-dev opened this issue
May 13, 2015
· 4 comments
Hi there, I'm using XCode 6.3 and Swift 1.2 and when runing the code:
ALAssetsLibrary().saveImage(screenshot, toAlbum: "myAlbum", completion:nil, failure:nil)
I get the error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ALAssetsLibrary saveImage:toAlbum:completion:failure:]: unrecognized selector sent to instance
I use a bridging header to link the Objective C code with Swift
In the build phases I added the MobileCoreService and the AssetsLibrary framework
Any help would be much appreciated
The text was updated successfully, but these errors were encountered:
@auriga-dev sorry, i rarely use Swift for developing, it might take some time for doing this, and busy these days. I'm appreciate if someone else can help to do this, thx in advance :)
Hi there, I'm using XCode 6.3 and Swift 1.2 and when runing the code:
ALAssetsLibrary().saveImage(screenshot, toAlbum: "myAlbum", completion:nil, failure:nil)
I get the error:
I use a bridging header to link the Objective C code with Swift
In the build phases I added the MobileCoreService and the AssetsLibrary framework
Any help would be much appreciated
The text was updated successfully, but these errors were encountered: