Details

      Description

      {html}<div><p>When I use a SystemButtom on iPhone and want to enable/disable
      it, the application will crash. The crash depends on the type of
      the SystemButton.</p>
      <p>The buttons I've tested and cause crash:<br>
      SPINNER, CONTACT_ADD, DISCLOSURE, INFO_DARK, INFO_LIGHT (the newer
      buttons in the TiUISystemButtonProxy.h)</p>
      <p>The code to test:</p>
      <pre>
      <code class="javascript">var tabGroup = Ti.UI.createTabGroup();

      var w = Ti.UI.createWindow({});
      var btnAdd = Ti.UI.createButton({
      systemButton: Ti.UI.iPhone.SystemButton.CONTACT_ADD,
      enabled: false
      });
      w.setRightNavButton(btnAdd);

      tabTest = Ti.UI.createTab({
      title:'Test',
      window: w
      });
      tabGroup.addTab(tabTest);

      tabGroup.open({transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT});

      setTimeout(function(){
      btnAdd.enabled = true;
      }, 3000);</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              wallneradam wallneradam
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1120
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code