Saving image only created album


i want save photo taken using application. can save in album created programmatically saves same photo in camera roll also. default or should make change in code ? here how code looks like
code:
[self.lib enumerategroupswithtypes:alassetsgroupalbum usingblock:^(alassetsgroup *group, bool *stop) {                 if ([[group valueforproperty:alassetsgrouppropertyname] isequaltostring:@"album_name"]) {                         nslog(@"album name %@", [group valueforproperty:alassetsgrouppropertyname]);                         [self.lib saveimage:takenimage toalbum:@"album_name" completion:^(nsurl *asseturl, nserror *error) {                                 if (asseturl) {                                        // photo                 }                             } failure:nil];          }             } failureblock:nil];
 

as understand it, albums filters camera roll. noticed when using sony software. deleting images album not delete roll. not have control on that. i'd wrong on this.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Sean Penn, "Chapo Guzman", and Rolling Stone

Subler - What is "Fix Audio Fallbacks"?

Help please Strange logs