Skip to content

Commit

Permalink
Remove label
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Winterkvist committed Oct 5, 2015
1 parent b7560ec commit 586109b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Photos.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ struct Photos {
let imageManager = PHImageManager.defaultManager()
let requestOptions = PHImageRequestOptions()

imageManager.requestImageForAsset(asset, targetSize: size, contentMode: PHImageContentMode.AspectFill, options: requestOptions, resultHandler: { image, info in
imageManager.requestImageForAsset(asset, targetSize: size, contentMode: PHImageContentMode.AspectFill, options: requestOptions) { image, info in
if let info = info where info["PHImageFileUTIKey"] == nil {
dispatch_async(dispatch_get_main_queue(), {
completion(image: image)
})
}
})
}
}

static func resolveAssets(assets: [PHAsset], size: CGSize = CGSize(width: 720, height: 1280)) -> [UIImage] {
Expand Down

0 comments on commit 586109b

Please sign in to comment.