Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Comments & Feedback
  3. Behavior Request: Get Device Model

Behavior Request: Get Device Model

Scheduled Pinned Locked Moved Comments & Feedback
11 Posts 3 Posters 2.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MurtazaM Offline
    MurtazaM Offline
    Murtaza
    Admin
    wrote on last edited by
    #2

    We already have this. There is a get screen behaviour. It will return the screen size and aspect ratio. With this you can tell what device their running.

    You can't differentiate per device family though. So iPad is the same though out, can't tell difference between iPad 2 and iPad Air.

    T 1 Reply Last reply
    0
    • MurtazaM Offline
      MurtazaM Offline
      Murtaza
      Admin
      wrote on last edited by
      #3

      Regarding seeing the last bit of your post. On the left side there is a little up arrow that makes the comment window be full screen.

      1 Reply Last reply
      0
      • MurtazaM Murtaza

        We already have this. There is a get screen behaviour. It will return the screen size and aspect ratio. With this you can tell what device their running.

        You can't differentiate per device family though. So iPad is the same though out, can't tell difference between iPad 2 and iPad Air.

        T Offline
        T Offline
        Thecheater887
        wrote on last edited by
        #4

        @Murtaza It's more about performance. I don't want to load 394MB of data into 256MB of RAM.

        1 Reply Last reply
        0
        • MurtazaM Offline
          MurtazaM Offline
          Murtaza
          Admin
          wrote on last edited by
          #5

          To me, that sounds like a game design problem. You should usually build your game with the smallest and least powerful target device. This way everyone can enjoy your game.

          The App Store is also pretty stingy when it comes to this.

          Jack de WildeJ 1 Reply Last reply
          0
          • T Offline
            T Offline
            Thecheater887
            wrote on last edited by
            #6

            Sometimes I just need that last bit of power old devices don't have.

            The App Store is stingy with that too? Do they allow anything other than articles praising apple in there anymore?

            1 Reply Last reply
            0
            • MurtazaM Murtaza

              To me, that sounds like a game design problem. You should usually build your game with the smallest and least powerful target device. This way everyone can enjoy your game.

              The App Store is also pretty stingy when it comes to this.

              Jack de WildeJ Offline
              Jack de WildeJ Offline
              Jack de Wilde
              wrote on last edited by Jack8680
              #7

              @Murtaza @Thecheater887 the AppStore doesn't mind if you don't support older devices, as long as you don't put them in the supported devices section, right? I know a few games that aren't compatible with my iPad 4 and they just won't download from the AppStore. I'm pretty sure you can get screen orientation from the tilt analog behaviour, but I haven't used it in a while so I'm not 100% sure. Also, I didn't know about the get screen behaviour, I just assumed it got the screen position and never used it 😑.

              1 Reply Last reply
              1
              • MurtazaM Offline
                MurtazaM Offline
                Murtaza
                Admin
                wrote on last edited by
                #8

                With the App Store you can't pick and choose devices to support.
                It's either iPad, or iPhone.
                If you select iPhone, then you must support all iPhones.

                What you can do however, is support different OS versions. So if you support iOS 10 only, then the older iPhones and iPads would be excluded.

                The get screen behaviour will get the various properties of the screen, like the device aspect ratio. By getting this, you also know if it's in portrait or landscape.

                1 Reply Last reply
                0
                • Jack de WildeJ Offline
                  Jack de WildeJ Offline
                  Jack de Wilde
                  wrote on last edited by
                  #9

                  @Murtaza I don't believe so, Phoenix II by Firi Games
                  https://appsto.re/au/jjsPdb.i does not work on my iPad 4, giving the error "Cannot download, This app is not compatible with your device." I have the latest version of iOS 10 and my friend can download it on his iPad Air. The AppStore page also has a long compatibility list but the minimum device is iPad Air or iPhone 5s. This also makes sense because it'd be very limiting if an app had to work well on an iPad 1...

                  MurtazaM 1 Reply Last reply
                  1
                  • Jack de WildeJ Jack de Wilde

                    @Murtaza I don't believe so, Phoenix II by Firi Games
                    https://appsto.re/au/jjsPdb.i does not work on my iPad 4, giving the error "Cannot download, This app is not compatible with your device." I have the latest version of iOS 10 and my friend can download it on his iPad Air. The AppStore page also has a long compatibility list but the minimum device is iPad Air or iPhone 5s. This also makes sense because it'd be very limiting if an app had to work well on an iPad 1...

                    MurtazaM Offline
                    MurtazaM Offline
                    Murtaza
                    Admin
                    wrote on last edited by
                    #10

                    @Jack8680 Ah, there is one thing I'm forgetting. You can target a specific CPU. So in XCode you can build for only a specific architecture type.

                    But that still covers a wide variety of screen sizes and devices.

                    64 bit devices still have:
                    The iPhone 5S
                    iPhone SE
                    iPhone 6, 6+, 6S, 6S+, 7, 7+

                    iPad Air
                    iPad Air 2
                    iPad Mini 2
                    iPad Mini 3
                    iPad Mini 4

                    iPad Pro 12"
                    iPad Pro 9.7".

                    So already, you can see a couple different screen sizes and resolutions. So you need to support them all any ways. I think at this point the only ones you can ignore are the older iOS devices like original iPhone, 3G, 3Gs, 4, 4S.

                    Jack de WildeJ 1 Reply Last reply
                    0
                    • MurtazaM Murtaza

                      @Jack8680 Ah, there is one thing I'm forgetting. You can target a specific CPU. So in XCode you can build for only a specific architecture type.

                      But that still covers a wide variety of screen sizes and devices.

                      64 bit devices still have:
                      The iPhone 5S
                      iPhone SE
                      iPhone 6, 6+, 6S, 6S+, 7, 7+

                      iPad Air
                      iPad Air 2
                      iPad Mini 2
                      iPad Mini 3
                      iPad Mini 4

                      iPad Pro 12"
                      iPad Pro 9.7".

                      So already, you can see a couple different screen sizes and resolutions. So you need to support them all any ways. I think at this point the only ones you can ignore are the older iOS devices like original iPhone, 3G, 3Gs, 4, 4S.

                      Jack de WildeJ Offline
                      Jack de WildeJ Offline
                      Jack de Wilde
                      wrote on last edited by Jack8680
                      #11

                      @Murtaza okay, that makes sense. That's good because I've noticed I don't get great performance on my iPad 4 but it works fine on my friend's iPad Air. I guess iPad 4 is becoming outdated already...

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search