Giter Site home page Giter Site logo

New iPads 2017 about deviceutil HOT 8 CLOSED

alexanderlarionov avatar alexanderlarionov commented on July 25, 2024 5
New iPads 2017

from deviceutil.

Comments (8)

InderKumarRathore avatar InderKumarRathore commented on July 25, 2024 1

Added iphone 8/plus/x strings

from deviceutil.

ityutin avatar ityutin commented on July 25, 2024

Yes, please! We're suffering without them :)

Thank you in advance!

from deviceutil.

cliffjoyce avatar cliffjoyce commented on July 25, 2024

Yes, please add the 2017 iPad Pros. Thanks!

from deviceutil.

cliffjoyce avatar cliffjoyce commented on July 25, 2024

Your device hardware string is: iPad7,3 (for iPad Pro 10.5-inch).

from deviceutil.

cliffjoyce avatar cliffjoyce commented on July 25, 2024

@alexanderlarionov - attached is the version that I patched for the iPads that were released at WWDC17.
DeviceUtil with WWDC17 devices.zip

from deviceutil.

crossle avatar crossle commented on July 25, 2024

iPhone 8, plus

from deviceutil.

InderKumarRathore avatar InderKumarRathore commented on July 25, 2024

Don’t have the hardware strings for these devices.

from deviceutil.

cliffjoyce avatar cliffjoyce commented on July 25, 2024
NSString* const iPad7_1 = @"iPad7,1";
NSString* const iPad7_2 = @"iPad7,2";
NSString* const iPad7_3 = @"iPad7,3";
NSString* const iPad7_4 = @"iPad7,4";

if ([hardware isEqualToString:iPad7_1])      return IPAD_PRO_12_2GEN_WIFI;
if ([hardware isEqualToString:iPad7_2])      return IPAD_PRO_12_2GEN_WIFI_CELLULAR;

if ([hardware isEqualToString:iPad7_2])      return IPAD_PRO_10_WIFI;
if ([hardware isEqualToString:iPad7_2])      return IPAD_PRO_10_WIFI_CELLULAR;

case IPAD_PRO_12_2GEN_WIFI:
case IPAD_PRO_12_2GEN_WIFI_CELLULAR:
	  return CGSizeMake(4032, 3024);
	  break;

  case IPAD_PRO_10_WIFI:
  case IPAD_PRO_10_WIFI_CELLULAR:
	  return CGSizeMake(4032, 3024);
	  break;

ipad pro plist entries

from deviceutil.

Related Issues (20)

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.