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

macOS: Add checkbox style to Ti.UI.Switch

    Details

    • Story Points:
      3

      Description

      Summary:
      Apple's UISwitch support a checkbox style for Mac Catalyst apps as of Big Sur.
      https://developer.apple.com/documentation/uikit/uiswitchstyle

      To-Do:
      Titanium's Ti.UI.Switch currently supports an Android-only style property which can be assigned the following constants...

      We should move those constants to the Ti.UI module and add support for iOS builds. The TOGGLEBUTTON constant is Android-only and iOS should default to the SWITCH style instead.

      Note:
      iOS (ie: iPhone/iPad) does not support the checkbox style. This is only support by macOS apps. So, iOS app should use the switch style when assigned a checkbox style.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Christopher Williams
                Tester:
                Samir Mohammed
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration