iPhone jack remote buttons wiring
I found this form to have some answers. It looks like pressing different buttons shorts the signal pin and ground with different resistor values. In this diagram, that would be pin 3 for GND and pin 4 for signal.