Getting device information in iOS.