Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2300

Ti.SafariDialog: tintColor does not work on iOS 9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: Release 6.0.0
    • Component/s: SafariDialog
    • Environment:
    • Story Points:
      1
    • Sprint:
      2016 Sprint 20 SDK

      Description

      The fix made for MOD-2296 subsequently broke tintColor for iOS9. Switching the ti.safaridialog module version from 1.1.0 -> 1.0.5 resolves the issue.

      TEST CODE:

      var safari = require('ti.safaridialog');
       
      var win = Ti.UI.createWindow({
          backgroundColor: 'white'
      })
       
      var btn = Ti.UI.createButton({
          title: "Open safari dialog"
      });
       
      btn.addEventListener("click", function() {
          safari.open({
              url:"http://google.com",
              title:"Hello World",
              tintColor:"red",
              //barColor:"red"
          });
      });
       
      safari.addEventListener("load", function(e) {
          var pageurl = e.url;
          var success = e.success;
          Ti.API.warn(pageurl + ' loaded with success value ' + success);
      });
       
      win.add(btn);
      win.open();
      

      Steps to Reproduce

      1. Create a classic mobile application
      2. Add ti.safaridialog (1.1.0) to project.
      3. Use above test code in app.js
      4. Launch app on iOS9 device / sim

      Expected Result

      "Done" Button and bottom toolbar icons should be Red.

      Actual Result

      "Done" Button and bottom toolbar icons remain as default. (blue)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                htbryant Harry Bryant
                Reviewer:
                Chee Kiat Ng (Inactive)
                Tester:
                Harry Bryant
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code