Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28104] iOS: Support new date picker styles from iOS 13.4 and iOS 14

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-09-09T15:05:10.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.2.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeChristopher Williams
Created2020-08-28T12:51:36.000+0000
Updated2020-09-09T15:05:10.000+0000

Description

iOS 13.4 and 14 are introducing new date picker styles (automatic, wheels, compact and inline). Titanium does not support those so far. Example:
var win = Ti.UI.createWindow({
	backgroundColor: '#fff'
});

var picker = Ti.UI.createPicker({
	type: Ti.UI.PICKER_TYPE_DATE,
	datePickerStyle: Ti.UI.iOS.DATE_PICKER_STYLE_INLINE
});

win.add(picker);
win.open();
See the attachment for details!

Attachments

FileDateSize
simulator_screenshot_F85B5991-8631-4301-8E91-42EC8D43B85F.png2020-08-28T12:51:06.000+000062119

Comments

  1. Hans Knöchel 2020-08-28

    PR: https://github.com/appcelerator/titanium_mobile/pull/11977
  2. Satyam Sekhri 2020-09-01

    FR Passed Waiting for Jenkins build
  3. Samir Mohammed 2020-09-09

    *Closing ticket*. Fix verified in SDK version 9.2.0.v20200908050955, and 9.3.0.v20200908051946. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11977

JSON Source