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

View File

@ -1,6 +1,6 @@
{ {
"name": "UIDevice-Utils", "name": "UIDevice-Utils",
"version": "1.0.6", "version": "1.0.7",
"summary": "Category on UIDevice to distinguish between platforms.", "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'", "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", "homepage": "https://github.com/giuseppenucifora/UIDevice-Utils",
@ -10,7 +10,7 @@
}, },
"source": { "source": {
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git", "git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
"tag": "1.0.6" "tag": "1.0.7"
}, },
"platforms": { "platforms": {
"ios": "8.0" "ios": "8.0"

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = "UIDevice-Utils" s.name = "UIDevice-Utils"
s.version = "1.0.6" s.version = "1.0.7"
s.summary = "Category on UIDevice to distinguish between platforms." 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.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" s.homepage = "https://github.com/giuseppenucifora/UIDevice-Utils"