@property (nonatomic, readonly) UIUserInterfaceIdiom userInterfaceIdiom UIDevice中的userInterfaceIdiom可以用来区分iphone还是ipad