Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28543] iOS: selectedBackgroundGradient deprecation warning is logged even when not using it

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2021-10-06T09:41:37.000+0000
Affected Version/sRelease 10.1.0, Release 10.0.2
Fix Version/sRelease 10.2.0
ComponentsiOS
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2021-10-01T10:08:47.000+0000
Updated2021-10-06T09:41:37.000+0000

Description

Description

When creating TableViewRow on iOS and specifying backgroundImage and warning is logged for selectedBackgroundGradient
const win = Ti.UI.createWindow();
const row = Ti.UI.createTableViewRow({ backgroundImage: 'doesnt-need-to-exist.png' });
win.add(Ti.UI.createTableView({ data: [ row ] }));
win.open();

Steps to reproduce

1. Add the code above to an existing app.js 2. Build for ios

Actual

Warning log stating selectedBackgroundGradient is deprecated

Expected no warning log

Comments

  1. Ewan Harris 2021-10-01

    Community PR: https://github.com/appcelerator/titanium_mobile/pull/13092

JSON Source