[TIMOB-28186] macOS: Ti.Platform.osname can never return "mac"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 9.2.0, Release 9.2.1 |
Fix Version/s | n/a |
Components | iOS, Mac |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Unknown |
Created | 2020-10-09T15:05:39.000+0000 |
Updated | 2020-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.
No comments