Category to check hardware version that's running iOS
To get the platform identfier
NSString *platform = [UIDeviceHardware platform];
To get the platform name
NSString *platformString = [UIDeviceHardware platformString];
Category to check hardware version that's running iOS
To get the platform identfier
NSString *platform = [UIDeviceHardware platform];
To get the platform name
NSString *platformString = [UIDeviceHardware platformString];