The primary issue is that you are creating the wrong directory. You need to create the imageFolder
directory.
if ([self.fileManager createDirectoryAtURL:imageFolder withIntermediateDirectories:YES attributes:nil error:nil]) {
And note that you do not want the !
in the if
statement.