GameKit Bluetooth Transfer Problem

Posted by David Schiefer on Stack Overflow See other posts from Stack Overflow or by David Schiefer
Published on 2010-05-20T20:25:20Z Indexed on 2010/05/31 20:13 UTC
Read the original article Hit count: 254

Filed under:
|
|
|

Hi,

I am trying to send a file via Bluetooth using the GameKit framework. The problem I am having though is that I can only send one NSData object at a time, but I need to save it on the other end. this obviously isn't possible without knowing the filename, but i don't know how to transmit that. I've tried to convert it to a string NSData*data = [NSData dataWithContentsOfFile:urlAddress]; but i can only send one NSData object, not two.

Has anyone come across this problem yet?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa