iOS Foto in einem App-spezifischen Album speichern

Ich erstelle eine iOS 5 App. Ich möchte ein Foto auf dem Gerät speichern.

Ich möchte das Foto in einem Album speichern, das für meine App spezifisch ist. Daher muss ich das Album erstellen und dann Fotos im Album speichern.

Ich weiß, wie man das Album erstellt:

ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library addAssetsGroupAlbumWithName:@"MY APP NAME" resultBlock:^(ALAssetsGroup *group) {
    //How to get the album URL?
} failureBlock:^(NSError *error) {
    //Handle the error
}];

Ich möchte jetzt Fotos zum neuen Album hinzufügen. Wie mache ich das? Beispielcode wird sehr geschätzt!

Antworten auf die Frage(4)

Ihre Antwort auf die Frage