I don't believe there is an API to get this directly.
You need to get the model, i.e. the "iPad13,2" string, and look that up in a table.
Get the model by calling uname() and looking in the machine field of the result.
Topic:
UI Frameworks
SubTopic:
General
Tags: