From #2529
Looks like the Android detection is ok. The iPad/iPhone/iPod simulator appears to strip the Mobile Safari info, so we'll have to test with an actual iDevice.
ok, tested with my iphone 3g.
So... two choices. Either:
The first is easier. Any preferences?
(In [5036]) fixes #2572