[TIMOB-28104] iOS: Support new date picker styles from iOS 13.4 and iOS 14
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-09-09T15:05:10.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 9.2.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Christopher Williams |
| Created | 2020-08-28T12:51:36.000+0000 |
| Updated | 2020-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
| File | Date | Size |
|---|---|---|
| simulator_screenshot_F85B5991-8631-4301-8E91-42EC8D43B85F.png | 2020-08-28T12:51:06.000+0000 | 62119 |
PR: https://github.com/appcelerator/titanium_mobile/pull/11977
FR Passed Waiting for Jenkins build
*Closing ticket*. Fix verified in SDK version
9.2.0.v20200908050955, and9.3.0.v20200908051946. *Test and other information can be found at:* https://github.com/appcelerator/titanium_mobile/pull/11977