-
-
Notifications
You must be signed in to change notification settings - Fork 875
Closed
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Milestone
Description
Getting a crash while trying to get an image file's data. Calling getDataInBackgroundWithBlock on the main thread. The crashing code is called from PFFile downloadAsyncWithProgressBlock.
image.getDataInBackgroundWithBlock {
(data, error) -> Void in
if let data = data {
if let image = UIImage(data: data) {
self.imageView.image = image
}
}
}
Metadata
Metadata
Assignees
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature