I'am working on a topic multipeer connectivity framework. I got a great idea about this framework using the below link :
http://www.appcoda.com/intro-multipeer-connectivity-framework-ios-programming/
But my problem is ,i can send chat messages to all connected peers and is received by them. But i need that same functionality in File sharing. I need to send files simultaneously to all connected peers. Is that possible????
Yes, it is possible. If you want to send large files (like tens of megabytes or more) I would recommend using method
sendResourceAtURL:withName:toPeer:withCompletionHandler`` instead of
sendData:toPeers:withMode:error:`.This way you don't have to load the whole file to memory at once (which may trigger a memory warning or even a crash). Also you get a
NSProgress
as a returned value, so you can show transfer's progress to the user.