I've written an app for my podcast, Otaku no Podcast. In various parts of the app, I use NSURLConnection
(fetch RSS feeds), UIWebView
(display website content), AVPlayer
(play MP3 audio files off our CDN), and MPMoviePlayerViewController
(play video files off our CDN). Now, since all of these make HTTP requests of some sort, I'm assuming that they will advertise themselves with the standard iPhone User-agent string. (if my assumption is incorrect please let me know) This means that, based on reading my log files, I have no way of telling which of my visitors is coming in via plain old mobile Safari, vs. using my app.
Is there a way of changing the User-Agent to one of my own? I found this question on SO that describes how to do this with NSURL
but I can't find any information about any of the above classes that I am using.