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

iOS : Open an iPad Popover crash the app

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 8.2.1
    • Fix Version/s: Release 8.3.0
    • Component/s: iOS, iPad
    • Environment:

      Xcode 11.1
      SDK 8.3.0.v20191016161716

    • Story Points:
      5
    • Sprint:
      2019 Sprint 22, 2019 Sprint 23

      Description

      From SDK > 8.2.0.GA opening a Popover crash the app. Tested on iOS 11,12,13 simulator.
      With SDK 8.2.0.GA no problems.

      Code from http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iPad.Popover

      var win = Ti.UI.createWindow({backgroundColor: 'white'});
       
      var button = Ti.UI.createButton({title: 'Open Popover!'});
      button.addEventListener('click', function(e){
          popover.show({ view: button });
      })
      win.add(button);
       
      var rightButton = Ti.UI.createButton({title: 'Robin'});
      rightButton.addEventListener('click', function(e){
          alert("But green's the color of spring.");
      });
       
      var contentWindow = Ti.UI.createWindow({
          rightNavButton: rightButton,
          title: 'Kermit'
      });
      contentWindow.add(Ti.UI.createLabel({text: "It's not easy being green."}));
       
      var popover = Ti.UI.iPad.createPopover({
          backgroundColor: 'green',
          contentView: Ti.UI.createNavigationWindow({
              width: 250,
              height: 100,
              window: contentWindow
          })
      });
       
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                nicolomonili nicolomonili
                Reviewer:
                Christopher Williams
                Tester:
                Satyam Sekhri
              • Watchers:
                10 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