I was studying About Multipeer Connectivity framework, and was looking for some simple tutorials on the internet, luckily found this tutorial which is quite simple to understand the structure and codes.
Unfortunately when I test this project in 2 devices (iPhone with an iPad ) , I realized that sometimes the message not reached to the final destination. I believe that should be a problem with the framework , perhaps it is not very accurate, or I could be wrong , and the problem could be in the code ?
Check this link for a change, it has a sample code attached to it. check the part 2 version for file sharing option.
Link Multipeer Connectivity