I am making an app in which user can chat & also send files from that app. But i am stuck on the point where user can send any file to the other user by attachment but i did not found any sample app or helping code for that so can any one help me to solve my problem.
Tell me some sample apps links and also the technique for upload and send file by browsing it from the iPhone using app.
Some suggestions for achieving this
Browse
Upload
Chat
Let me give you some suggestion first just upload the file from device like this
1.
2 Now just upload the media to webservices via ASIFormDataRequest then they will generate the link give back to the link. then u can send that link to another user via xmpp. and then other user can download that media.