Skip to content

Commit

Permalink
Merge pull request #476 from rawrmaan/2.x
Browse files Browse the repository at this point in the history
Add iPhone 7 and 7 Plus PPI
  • Loading branch information
adamgit committed Sep 19, 2016
2 parents 5600e15 + 8e1121f commit 4c84fa1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/DOM classes/SVG-DOM/SVGLength.m
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,14 @@ +(float) pixelsPerInchForCurrentDevice
|| [platform hasPrefix:@"iPhone6"]
|| [platform hasPrefix:@"iPhone7,2"]
|| [platform hasPrefix:@"iPhone8,1"]
|| [platform hasPrefix:@"iPhone8,4"]) {
|| [platform hasPrefix:@"iPhone8,4"]
|| [platform hasPrefix:@"iPhone9,1"]) {
return 326.0f;
}

if ( [platform hasPrefix:@"iPhone7,1"]
|| [platform hasPrefix:@"iPhone8,2"]) {
|| [platform hasPrefix:@"iPhone8,2"]
|| [platform hasPrefix:@"iPhone9,2"]) {
return 401.0f;
}

Expand Down

0 comments on commit 4c84fa1

Please sign in to comment.