Questions tagged [pffile]
108 questions
0
votes
0 answers
Image stored as PFFile is not being saved - How do I ensure it gets saved eventually without freezing my app?
As the title says, I have an image that I'm saving as a PFFile and trying to attach to an object. About 5% of the time, it doesn't save properly, which kind of sucks. I've reduced the size by a factor of 4, which helped a lot, but I can't reduce it…

Jake T.
- 4,308
- 2
- 20
- 48
0
votes
1 answer
Imagepicker Crashing when Uploading to Parse
My app keeps crashing whenever I try to take a picture to upload to Parse as the user's profile picture. Spent hours looking online, but can't figure it out. Please help
func imagePickerController(picker: UIImagePickerController,…

DesignMeetsCode
- 23
- 6
0
votes
1 answer
retrieved videos as PFFile in Uiimage
I'm trying to put retrieved videos from Parse in UIimage and i need help of that.
i retrieved videos as a PFFile .
here is my code
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let…

Thamer Al-Mustafa
- 13
- 1
- 3
0
votes
1 answer
Saving PFFile Eventually
A PFObject can be saveEventually to be sync on Parse when network is reachable, while keeping it locally meanwhile.
If your file contains a PFFile, the file must be savedInBackground before your PFObject can be save.
How to saveEventually a PFFile,…

Thibaud David
- 496
- 2
- 11
0
votes
1 answer
How can i start a video downloaded from parse in MPMoviePlayerController
How can i play a video using MPMoviePlayerController downloaded from parse saved as PFFile?
I downloaded the video file with this code:
var query = PFQuery(className:"Video")
query.whereKey("Nome", equalTo:"prova")
…

Swifty Srl
- 33
- 5
0
votes
1 answer
Parse PFFile download order iOS in Swift
I'm trying to retrieve images from Parse as PFFiles but the order in which they are returned changes every time. I found another question/answer that addresses this problem but it's in Obj-C and after an hour, I cannot translate a working solution…
user5034511
0
votes
1 answer
Reference ParseFiles stored in Parse via URL
I'm working on an iOS and Android that app sends an email that contains 2 images. It doesn't attach the images to the email, rather it links to them via URL using the src property of the img tag in the email's HTML content. I would like to know if I…

Jordan H
- 52,571
- 37
- 201
- 351
0
votes
2 answers
Loading images from parse in uiscrollview in swift
I want to retrieve images from a PFFile, which contains multiple images, and put them in one scrollview. So far, I have tried the following, but this returns an error "Warning: A long-running operation is being executed on the main thread."
let…

Eri
- 1
0
votes
2 answers
How to turn a PFFile Array into a UIImage Array?
I am having some trouble converting a PFFile array (named: activeimageFilearray) into a UIImage array (named: activeImageArray). My current for-in method only appends the first entry of the PFFile rather than appending all the entires in the PFFile…

bantukatanaya
- 93
- 1
- 10
0
votes
2 answers
How to add another column to my class in Parse.com? (Swift)
I am having some difficulty adding a new column to my class in Parse. Currently I have made a class (named: Venue Data) with the name and geopoints of restaurants. I would like to add to that class a column for image which will be paired respective…

bantukatanaya
- 93
- 1
- 10
0
votes
1 answer
How do I store images into UIImage array (Swift)
Here is my code
self.pages?.photo1.getDataInBackgroundWithBlock {
(imageData: NSData?, error:NSError?) -> Void in
if error == nil {
let image = UIImage(data: imageData!)
…

Adeel
- 93
- 1
- 2
- 9
0
votes
1 answer
How Do I Transfer A PFFile From One ViewController To Another
Good Evening. I am having trouble with transferring PFFile from my TableViewController to my SecondViewController. I want to be able for users to pick an image out of the tableview then edit the video how they see fit on the next view controller.
I…

just_denzzy
- 52
- 10
0
votes
0 answers
How to Save PFFile to Object on iOS 9
I get this problem upgrading to iOS 9, the Parse Framework doesn't work completely.
I'm not able to retrive PFFiles & I'm not able to save any PFobject that has PFFile inside it.
This is my Code that was working on iOS 8.3:
-(void)Save{
......
…

Kingofmit
- 2,066
- 1
- 17
- 22
0
votes
1 answer
Parse image resolutions for ios
Whats the most effective way of dealing with different image resolutions in Parse for the different ios devices?
For instance
Would it be better to have 1 image in parse at the highest res and download for every device? (slower download speeds for…

Al Martin
- 179
- 3
- 15
0
votes
2 answers
Managing profile picture of subclassed PFUser with PFFile - Swift / iOS
I've subclassed PFUser in my iOS app and I'm using this function to grab the profile picture. profilePicture is the @NSManaged PFFile and profilePictureImage is a UIImage.
This works great except for the fact that getData() and fetchIfNeeded() are…

MayNotBe
- 2,110
- 3
- 32
- 47