Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28186

macOS: Ti.Platform.osname can never return "mac"

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 9.2.0, Release 9.2.1
    • Fix Version/s: None
    • Component/s: iOS, Mac
    • Labels:
      None

      Description

      In Xcode 12, there is a new checkbox "Optimized for Mac UI" which can be checked. This is not possible so far. And because of that, the device idiom is always "ipad". But even if the checkbox would be checked in the generated Xcode project, it would never be "mac", because Titanium only checks for iPads and fallbacks to iPhones if not matching. This can be extended easily in the PlatformModule.m.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hknoechel Hans Knöchel
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration