- fix simulator inches

This commit is contained in:
Giuseppe Nucifora 2018-03-20 17:26:58 +01:00
parent 102e17a798
commit 6c08b3690d
6 changed files with 13 additions and 8 deletions

View File

@ -1,5 +1,5 @@
PODS:
- UIDevice-Utils (1.0.6)
- UIDevice-Utils (1.0.7)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../
SPEC CHECKSUMS:
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
UIDevice-Utils: 3abac0b73a453f13e658bd8054d44f8b7a9a821d
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5

View File

@ -1,6 +1,6 @@
{
"name": "UIDevice-Utils",
"version": "1.0.6",
"version": "1.0.7",
"summary": "Category on UIDevice to distinguish between platforms.",
"description": "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'",
"homepage": "https://github.com/giuseppenucifora/UIDevice-Utils",
@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
"tag": "1.0.6"
"tag": "1.0.7"
},
"platforms": {
"ios": "8.0"

View File

@ -1,5 +1,5 @@
PODS:
- UIDevice-Utils (1.0.6)
- UIDevice-Utils (1.0.7)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../
SPEC CHECKSUMS:
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
UIDevice-Utils: 3abac0b73a453f13e658bd8054d44f8b7a9a821d
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.6</string>
<string>1.0.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

View File

@ -338,6 +338,11 @@
return UIDeviceSimulatorModelInches55;
break;
}
case 812:{
return UIDeviceSimulatorModelInches58;
break;
}
break;
case 1024:{
return UIDeviceModelInches97;
break;

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "UIDevice-Utils"
s.version = "1.0.6"
s.version = "1.0.7"
s.summary = "Category on UIDevice to distinguish between platforms."
s.description = "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'"
s.homepage = "https://github.com/giuseppenucifora/UIDevice-Utils"