Ekhoo / Device

Light weight tool for detecting the current device and screen size written in swift.
MIT License
1.7k stars 202 forks source link

Support for iPad mini (5th Generation) #109

Closed LeonardoLarranaga closed 2 years ago

LeonardoLarranaga commented 3 years ago

Added a fue lines of code to support the iPad mini 5:

In version.swift added:

case iPadMini5

In device.swift added:

case "iPad11,1", "iPad11,2": return .iPadMini5

417-72KI commented 3 years ago

It seems to be resolved in #106 , but hasn't be released yet 😂

Here is a workflow to use a resolved commit. https://github.com/Ekhoo/Device/issues/105#issuecomment-802579617

kishorepran commented 2 years ago

The above pr has been merged and is available with SPM. Cocoapods update will follow soon. let me know for anything else.