Probably querying UIDevice.<p><a href="http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIDevice_Class/Reference/UIDevice.html" rel="nofollow">http://developer.apple.com/iphone/library/documentation/UIKi...</a>