4 days after the release of the first iPhone the NSA began developing DROPOUTJEEP – a exploit that offers remote access to files, SMS messages, camera capture and location, and more device specific information. Data can be transferred from the device through SMS and adata connection, which explains this. All transfers are, of course, encrypted, so that only you, the American government, your government, and the highest bidder have access to it.
The document also claims that the NSA were working on a remote installation method – and with it being 6 years in the works it is very likely available.
Apple’s involvement is unknown.