0
I have in my application a UIIMAGE attribute ( for image) and a NSURL for video, need to pass one of this information via webservice... How can I do that ?
0
I have in my application a UIIMAGE attribute ( for image) and a NSURL for video, need to pass one of this information via webservice... How can I do that ?
Browser other questions tagged php ios swift
You are not signed in. Login or sign up in order to post.
I don’t know if it’s a good idea, but the people at the college with whom we have webservice use Base64. It should be huge, but it works
– Wallace Maxters
Wait there, you need to send the file physically, or just the information of it? If it is only the second option, forget what I said earlier
– Wallace Maxters
I need the file itself , I thought using ftp... Using the base will get hard query
– Augusto Furlan
Is there any problem in uploading and saving the file url in the database, and offer this link via webservice, for access to it?
– Wallace Maxters
In reality when uploading the photo I will register an id in the bank and I will rename the file with that id , and n access the photo by the app only by a web application ...
– Augusto Furlan
Hello Augusto, here at the company we use the image conversion to Base64, and then we send the resulting string to the server... there it turns into an image again. I believe this is one of the best options...
– Lucas Eduardo
I think this framework can help you. https://github.com/Alamofire/AlamofireImage
– Brenno Hayden