There is a model property of the device, but it doesn\'t distinguish between iPhone and iPhone 3G. Is there a better way?
See here:
ars / uidevice-extension