I am currently in the process in creating a new app which analyses certain aspects of the user and makes the funny.
I am stuck on one part though, at the end of the app, when the user gets their results back, I want it so they can save it to a custom Album specifically for screenshots from this app.
-(IBAction)save:(id)sender {
toolBar.hidden = YES;
[self performSelector:@selector(screenPause) withObject:nil afterDelay:0.001];
}
-(void)screenPause {
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
screenshotImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
UIImageWriteToSavedPhotosAlbum(screenshotImage, nil, nil, nil);
[self performSelector:@selector(screenPauseOne) withObject:nil afterDelay:0.001];
}
This is how I am currently capturing the screen. And as you can see, I am just saving it to the default album. How would I create a new album and then place captured images into it?
Thanks in advance, Rafee