The ALAssetsLibraryChangedNotification is not working in IOS 5.0. It works fine in the older IOS 4 version. How can I get it to wrok in IOS 5.0?
Asked
Active
Viewed 1,087 times
0
-
Did you find an answer to this question that fits yet? – Linger Jun 26 '12 at 17:27
1 Answers
3
It is an ios5.0 Bug.
you can do one of the following:
1.) Call [self.assetsLibrary writeImageToSavedPhotosAlbum:nil metadata:nil completionBlock:^(NSURL *assetURL, NSError *error) { }]; immediately after creating instance of ALAssetsLibrary
2.) Observe ALAssetsLibraryChangedNotification (not NSManagedObjectContextObjectsDidChangeNotification)

Linger
- 14,942
- 23
- 52
- 79