Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28186] macOS: Ti.Platform.osname can never return "mac"

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 9.2.0, Release 9.2.1
Fix Version/sn/a
ComponentsiOS, Mac
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2020-10-09T15:05:39.000+0000
Updated2020-10-09T15:05:49.000+0000

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.

Comments

No comments

JSON Source