应用里面获取设备类型。
UIDevice.h里面
@
property(nonatomic,readonly,retain) NSString *name; // e.g. "My iPhone"
@
property(nonatomic,readonly,retain) NSString *model; // e.g. @"iPhone", @"iPod touch"
@
property(nonatomic,readonly,retain) NSString *localizedModel; // localized version of model
@
property(nonatomic,readonly,retain) NSString *systemName; // e.g. @"iOS"
@
property(nonatomic,readonly,retain) NSString *systemVersion; // e.g. @"4.0"
当然这个需要你更新版本,在应用里面判断了。