Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28227] iOS: Ti.UI.dateTimeColor is crashing on mac

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-11-13T14:38:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.3.0
ComponentsiOS
Labelspicker
ReporterVijay Singh
AssigneeVijay Singh
Created2020-11-04T19:44:19.000+0000
Updated2020-11-13T14:38:51.000+0000

Description

Ti.UI.dateTimeColor is crashing on mac with following crash log message.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UIDatePickerMacCompactView _setTextColor:]: unrecognized selector sent to instance 
Test Case-
const dp = Ti.UI.createPicker({
	type: Ti.UI.PICKER_TYPE_DATE,
	datePickerStyle: Ti.UI.iOS.DATE_PICKER_STYLE_WHEEL,
	dateTimeColor: 'red'
});

const win = Ti.UI.createWindow();
win.add(dp);
win.open();

Comments

  1. Vijay Singh 2020-11-04

    PR - https://github.com/appcelerator/titanium_mobile/pull/12249
  2. Satyam Sekhri 2020-11-05

    FR Passed. Waiting for Jenkins build.
  3. Hans Knöchel 2020-11-05

    Thanks for the fix Vijay! I haven't tested macOS during my PR, please excuse! New platforms, new times … :-)
  4. Christopher Williams 2020-11-05

    merged to master for 9.3.0 target. Backport PR for 9_2_X merged as well.
  5. Samir Mohammed 2020-11-13

    *Closing ticket*. Fix verified in SDK version 9.3.0.v20201111030553. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11955

JSON Source