Giter Site home page Giter Site logo

get-ios-model's Introduction

GetiOSModel Logo

Get-iOS-Model

Get the iOS model using the hw.machine string

Package
NuGet Badge GetiOSModel

Will keep repository updated as new devices become available.

If you need an Android library check out my other repo https://github.com/dannycabrera/GetDroidModel.

Updates:
20201212 - Added latest iPad and iPhone models
20200404 - Added iPhone SE (2nd generation)
20200327 - Added new iPad models iPad Pro 11-inch (2nd generation) and iPad Pro 12.9-inch (4th generation)
20190919 - Added hardware strings and chip types for new iPhone 11 models and iPad (7th generation) models
20190905 - Added Apple Chip Type property
20190601 - Added iPod touch 7th generation
20190327 - Added 2019 iPad models: iPad mini 5 and iPad Air 3
20181107 - iPad Pro 11-inch whitespace character fix thanks to @adamzucchi
20181106 - Added new iPad models: iPad Pro 12.9-inch (3rd generation) and iPad Pro 11-inch
20180921 - Added new iPhone models: iPhone XR, iPhone Xs and iPhone Xs Max
20180330 - Added Apple Tech specs link for iPad 6th generation
20180328 - Added new iPad 6th generation (2018 9.7-inch model)
20170929 - Model info now returned on simulators & updated Nuget to v1.3.
20170919 - Added iPhone 8, 8 Plus and X. Also updating NuGet to v1.2.
20170914 - NuGet updated to v1.1
20170706 - Adding NuGet
20170627 - Added iPad Pro (12.9-inch 2nd generation) and iPad Pro (10.5-inch)
20170321 - Added new iPad 5th generation
20161026 - corrected/added missing iPad6,4
20160912 - added iPhone 7 and 7 Plus
20160330 - added iPad Pro (9.7-inch) and iPhone SE
20160119 - added iPad Pro
20150928 - added iPhone 6s & iPhone 6s Plus
20150715 - added iPod 6th Generation
20141020 - added iPad Air 2 & iPad mini 3
20140917 - added iPhone 6 and 6 Plus
20140108 - added iPad Mini Retina and iPad Air


Install

Install-Package dannycabrera.GetiOSModel

Sample

Console.WriteLine(Xamarin.iOS.DeviceHardware.Version);

Result: "iPhone5,3"

Console.WriteLine(Xamarin.iOS.DeviceHardware.Model);

Result: "iPhone 5C GSM"

Console.WriteLine(Xamarin.iOS.DeviceHardware.ChipType);

Result: "A6"


Thanks to:

@sven-s, @manishkungwani, @jimbobbennett, @adamzucchi and @follesoe for their pull requests.

get-ios-model's People

Contributors

adamzucchi avatar dannycabrera avatar follesoe avatar jimbobbennett avatar sven-s avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.