Here's how we parse the user agent:
Mozilla/5.0 (iPod; CPU iPhone OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3

Safari 5.1 on iOS 5.1
Apple iPod
Here's detailed information about what we can parse:
Simplified readout
Clear, human readable descriptions of the software & platform
Software
Information about the web software
-
Software
Safari 5.1
-
Software Name
-
Software Name Code
-
Software Version
5.1
-
Software Version (full)
5.1
-
Layout Engine Name
-
Layout Engine Version
534.46
-
Software Type
-
Hardware Type
Operating System
Information about the Operating System
-
Operating System
iOS 5.1
-
Operating System Name
-
Operating System Name Code
-
Operating System Flavour
---
-
Operating System Version
5.1
-
Operating System Version (full)
5.1
-
Operating System Frameworks
---
Misc
Miscellaneous Information
-
Operating Platform
-
Operating Platform Code
---
Browse all Safari user agents
Browse all iPod user agents
Report a problem with this user agent
Download our database of user agents
We hope this user agent parse information was helpful. If you'd like to integrate this kind of detection into your own systems; we have a powerful and easy to use API. You'll be able to connect it to your contact forms, customer signups, bug reports, error logs and more.