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

iOS 7: Items liked with Ti.UI.AUTOLINK_ALL do not open when clicked upon

    Details

      Description

      Problem Description

      When the user uses Ti.UI.AUTOLINK_ALL in the TextArea in iOS, the automated autolink will show the url and the phone in an URL fashion, and it's clickeable, but never will happen when you click on it.

      Test Case

      var myView = Ti.UI.createView({});
      var myText= Ti.UI.createTextArea({
              value: "Mywebsite: http://mywebsite.com \n phone: 555-55-5555",
              top:15,
              left:10,
              right:10,       
              textAlign:'center',
              editable:false,
              autoLink:  Ti.UI.AUTOLINK_ALL,
              font: {fontSize:15},
              tintColor:'#9400d3',
       
          });
          alert( Ti.UI.AUTOLINK_ALL);
      myView.add(myText);
      var win = Ti.UI.createWindow({backgroundColor:'white'});
      win.add(myView);
      win.open();
      

      Steps to reproduce

      1. Create a new mobile project (Classic Titanium) with Mobile SDK 3.2.0
      2. Paste the test case into app.js
      3. Compile into the simulator.
      4. Click on the url, won't open Safari.

      Extra info

      If you test this with 3.1.3.GA, it will work as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                mpmiranda Mauro Parra-Miranda
                Reviewer:
                Sabil Rahim
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code