I have a UIWebView
into a mobile website that I run, and would like to hide some links when it's seen by the WebView--but not mobile Safari. It seems like there's several approaches to this:
- Evaluate custom Javascript to hide elements of a certain class.
- Pass in a GET parameter so that the server does it.
- Pass in a custom header so that the server does it.
- Maybe something else...
To me it seems like they all have their tradeoffs. What's the best way of doing it?