Iam using multipeer connectivity feature in my app. I have a weird problem ie, Iam able to send and receive messages(chatting). But in case of file sharing, I use
sendResourceAtURL:resourceURL withName:fileName toPeer:peer1
But While sending large files ie(more than 1Mb) the app crashes ie when i share a file taken from the photos app using image picker controller.Also Multipeer connectivity doesn't support breakpoints, i cant debug it. Any possible solutions for it? is it a memory issue (crashes due to high memory usage?) Iam using ios 8.1.3(device) and ios 8 simulator. i also checked b/w two devices,but still same crash.Please Help!!!!