Questions tagged [pffile]
108 questions
2
votes
1 answer
Cant stream video (PFFile) from parse server
I am having trouble streaming video with my iOS app from URL of a PFFile uploaded in my database. I used Heroku and AWS and I still have the same issue. It used to work fine when the files were hosted in the old parse server.
the PFFile url works…

maalhammadi
- 23
- 5
2
votes
1 answer
Saving Video to Parse & Playback
So i'm using this custom class to record my video -- https://github.com/piemonte/PBJVision. I am attempting to record video in my iOS app and I can't seem to get the code correct to upload the file to my parse server. A few things:
In the PBJVision…

Michael Westbrooks II
- 145
- 1
- 2
- 10
2
votes
1 answer
'The class PFUser must be registered with registerSubclass before using Parse.'
I've looked around and all the other answers do not work for me, I'm trying to query PFUser, but I keep getting an exception of 'The class PFUser must be registered with registerSubclass before using Parse.'
This is where the issue occurs:
override…

trever
- 961
- 2
- 9
- 28
2
votes
1 answer
How to convert a batch of PFFiles to UImages?
In my app, images are being stored on parse. They then get retrieved into an array of PFFiles, however I have to convert them individually to UIImages using this method which takes time.
PFFile *picture = [pictureArray…

Josh
- 745
- 1
- 7
- 22
2
votes
1 answer
Unable to Convert PFFile to UIImage
I am wondering if I have done anything wrong here.
I have a subclass of PFUser which has a property of profileImage, which is a PFFile
There are some cases when I don't save the profileImage right away to Parse and I only pin it to the…

JayVDiyk
- 4,277
- 22
- 70
- 135
2
votes
1 answer
How to pull file from user class parse swift
In my app, when a user signs up, he/she signs up, an image is added to the user class. The code used to do this is...
var newUser = PFUser()
let imageData = UIImagePNGRepresentation(self.imageView.image)
let imageFile = PFFile(data:…

Aidan Kaiser
- 501
- 5
- 17
2
votes
2 answers
Issues retrieving PFFile from Parse
I am creating an app in parse in which the user has an option to choose a profile picture when they sign up. This is the code for that.
var profilePictures = PFObject(className: "ProfilePictures")
let imageData =…

Aidan Kaiser
- 501
- 5
- 17
2
votes
1 answer
Error when retrieving PFFile via getDataInBackgroundWithBlock
I have created a var userImages = [PFFile]() and have appended the respective user images from Parse via a user query and self.userImages.append(user["imageFile"] as! PFFile). This works fine. However, when I try to set the image of the user via…

GLS
- 831
- 6
- 8
2
votes
2 answers
How do I Save an Image PFFile in localdatastore while Offline Parse.com?
I'm developing an App that use Parse.com Server to Store PFUsers Informations and Classes for each PFUser. I'm able to save everything to the server when i'm online but i would like use the app also when there's no Internet connect which means to…

Kingofmit
- 2,066
- 1
- 17
- 22
2
votes
1 answer
Attempting to check if PFFile has data or not
I am attempting to check if a PFFile has data before it attempts to pull the image from the background. I am attempting this because I keep getting a fatal crash if you try and open one of the objects and there is no image! My problem is that I…

Olyve
- 701
- 1
- 8
- 27
2
votes
1 answer
Image within PFFile will be uploaded to parse instead of being saved into the local datastorage
I am using swift with the Parse Framework (1.6.2). I am storing data into the local datastorage. The data consists of a few strings and an image. This image will be stored within a PfFile and then will be added to the PfObject.
Now I wondered why…

Christian
- 6,961
- 10
- 54
- 82
2
votes
1 answer
How to obtain data directly from PFFile without warning
I am using PFFile to store images. If the image is already downloaded, I want to access it directly. If not, I want to use the background methods. However, if I use getData, I get the following warning:
Warning: A long-running operation is being…

Philipp
- 1,903
- 2
- 24
- 33
2
votes
1 answer
Clear Files from Parse Cache
I have an app which is using parse, and it is downloading a caching a lot of files.
The app size on disk is getting rather large.
Is there any safe way currently to clear items from the cache?
According to…

Liron
- 2,012
- 19
- 39
1
vote
1 answer
Parse -server PFFile uploads just stopped working yesterday?
C O N C L U S I O N
https://docs.parseplatform.org/parse-server/guide/#configuring-s3adapter
I suspect that there are just so many PFFiles you can store in a Parse-Server class using the AWS free tier. I didn't have thousands of images but I think…

Daniel Patriarca
- 361
- 3
- 20
1
vote
1 answer
Array of PFFile cast to UIImage is empty outside of for loop
Im trying to download some images stored on parse server as PFFile then convert them in UIImage. This is contained within a for loop and the UIImages are appended to an array tempImageArray. This array is populated within the for loop (contains all…

WanderingScouse
- 281
- 1
- 3
- 16