iPhone -> USB -> Raspberry Pi via the Adafruit customer support forums. David writes -
If you want to write an app on the iPhone to control the GPIO pins (or really do anything on the Pi), check out my github repo:
https://github.com/davidahouse/PiTalkNothing revolutionary, but I’m not sure that a lot of people know about the usbmuxd method for communicating with the iPhone (I know I didn’t). This method also works for the BeagleBone (and really any Linux computer).
And of course I used the Adafruit Raspberry Pi distribution. I think the future I would like to expand the app a bit to include some of the nice features of the Adafruit distribution.
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.

Printable catalog (PDF)
FEED