| GitHub Issue | n/a |
| Type | Improvement |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-04-11T22:46:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.4.0 |
| Components | iOS |
| Labels | ios, optionaDialog, qe-5.4.0, tintColor |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2016-04-11T22:23:59.000+0000 |
| Updated | 2016-06-10T17:22:41.000+0000 |
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.
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();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.*