Lets say I have a pdf file on an iOS device that I want to transmit wirelessly to another iOS device.
Is there a way to simply get an NSURL from the file on device A so that device B can directly access it?
I’d like to skip the step of having to post it to a server first.
Yes, this is possible by making device A into an ad hoc HTTP server. You can find implementation help here:
http://code.google.com/p/cocoahttpserver/
It works quite well, but needs some fiddling.