2
// NSObject_DeviceDetection.m
5
// Created by döme on 12.04.2010.
6
// Copyright 2010 __MyCompanyName__. All rights reserved.
9
#import "NSObject_DeviceDetection.h"
12
@implementation NSObject (DeviceDetection)
16
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
17
return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad;
25
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 30200
26
return UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone;