Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23190] iOS: Support Ti.UI.OptionDialog property "tintColor"

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-04-11T22:46:15.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsiOS
Labelsios, optionaDialog, qe-5.4.0, tintColor
ReporterHans Knöchel
AssigneeHans Knöchel
Created2016-04-11T22:23:59.000+0000
Updated2016-06-10T17:22:41.000+0000

Description

iOS offers a way to tint the OptionDialog. Since its not inherited by a normal UIView, the default tintColor is always used and the tintColor property is ignored. That should be changed in both code and docs.

Attachments

FileDateSize
Simulator Screen Shot 12.04.2016, 00.27.44.png2016-04-11T22:29:05.000+000035794

Comments

  1. Hans Knöchel 2016-04-11

    PR: https://github.com/appcelerator/titanium_mobile/pull/7934 Demo:
        
       var index = Ti.UI.createWindow({backgroundColor: "white"});
       var options = Ti.UI.createOptionDialog({
           options: ["Cancel","Test 1","Test 2","Test 3"],
           cancel: 0,
           tintColor: "red"
       });
       options.show();
       index.open();
       
  2. Harry Bryant 2016-06-10

    Verified as fixed, Ti.UI.OptionDialog now supports tintColor. Tested On: iPhone 6S (9.3.2) Device & iPhone 6 Plus (8.3) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160608165242 Appc Studio: 4.6.0.201605201934 Appc NPM: 4.2.7-2 App CLI: 5.4.0-15 Xcode 7.3 Node v4.2.6 *Closing ticket.*

JSON Source