Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

document is immutable

  • Loading branch information...
commit 269a4236aa5fefd08249f642632ad32da7fb09c7 1 parent 585442d
@steipete steipete authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Examples/PSPDFCatalog/Annotations/PSCSaveAsPDFExample.m
View
2  Examples/PSPDFCatalog/Annotations/PSCSaveAsPDFExample.m
@@ -134,7 +134,7 @@ - (void)askUserAboutSaveLocation {
NSLog(@"Failed to move file: %@", error.localizedDescription); return;
}
// Finally update the fileURL, this will clear the current document cache.
- self.document.fileURL = newURL;
+ self.document = [PSPDFDocument documentWithURL:newURL];
}
}];
#pragma clang diagnostic pop
Please sign in to comment.
Something went wrong with that request. Please try again.