Announcement

Collapse
No announcement yet.

How to distinguish the target device is an iPad Pro 12.9 3rd generation?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to distinguish the target device is an iPad Pro 12.9 3rd generation?

    There are

    iPad Pro 12.9 1st generation resolution 2732‑2048
    iPad Pro 12.9 2nd generation resolution 2732‑2048
    iPad Pro 12.9 3rd generation resolution 2732‑2048

    The resolution is all the same, so I can't distinguish them by resolution. How can I konw the running device is 3rd Gen iPadPro?

    I need to know if the device is 3rd generation iPadPro and customize UI for it.

    Is there any way to get a key infomation to identify it in BluePrient?

    #2
    Hi,

    you can use the blueprint node "Get Active Device Profile by Name" (it's name is not intuitive i think, so not easy to find). It returns the type of device as a string.

    So if you combine this with a "Switch on String" you can make your desired changes.
    If there is no "Get Active Device Profile by Name" shown in blueprints, make sure to enable the plugin "Mobile Patching Utilities", it needs to be activated.

    Tip:
    All devices have standard names. To find out how these are exactly called you can check the Device Profile Setting.
    These can be found in the UE4 Editor under "Window > Developer Tools > Device Profiles" .

    Cheers!

    Get-Active-Device-Profile-Name

    Click image for larger version

Name:	Mobile-Patching-Plugin.png
Views:	17
Size:	90.3 KB
ID:	1718841

    Device-Profiles

    Comment


      #3
      CosmicLobster Thank you very much! Cheers!

      Comment

      Working...
      X