Pablo Picasso
Pablo Picasso

Reputation: 251

Storing a UIView in Parse.com

I'm trying to capture a signature on a UIView and store it in parse.com. Is there a simple way to do this? I took a look at parse's options for storing data but couldn't find an option that would fit.

enter image description here

Upvotes: 0

Views: 62

Answers (2)

Christopher Francisco
Christopher Francisco

Reputation: 16278

I haven't used Parse but it sounds like what you want to save is an image (like a JPEG or PNG file), so you might want to upload it to a file server and store the relataive or absolute path in Parse as a String

Upvotes: 0

Mahendra
Mahendra

Reputation: 8914

Try this

UIView *myview = [UIView new];

....

PFObject *viewObj = [PFObject OObjectWith......

viewObj[@"myview"] = myview; 

...

[viewObj save...];

Upvotes: 0

Related Questions