Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27773] iOS 13: Support search bar tokens

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2020-04-28T12:57:16.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeVijay Singh
Created2020-02-20T20:30:48.000+0000
Updated2020-04-28T12:57:16.000+0000

Description

Add support for the iOS 13+ search bar token API.

Attachments

FileDateSize
Simulator Screen Shot - iPhone 11 Pro Max iOS 13.3 - 2020-02-20 at 21.31.02.png2020-02-20T20:31:13.000+0000167243

Comments

  1. Hans Knöchel 2020-02-20

    PR: https://github.com/appcelerator/titanium_mobile/pull/11489 Example:
       
       var win = Ti.UI.createWindow({ backgroundColor: '#fff' });
       var nav = Ti.UI.createNavigationWindow({ window: win })
       var searchBar = Ti.UI.createSearchBar({ top: 0, height: 43, hintText: 'Search stuff …' });
       var list = Ti.UI.createListView({ top: 43 });
       
       win.add([searchBar, list]);
       nav.open();
       
       setTimeout(() => {
       	searchBar.insertTokenAtIndex({ text: 'Restaurant'}, 0);
       
       	setTimeout(() => {
       		searchBar.removeTokenAtIndex(0);
       	}, 2000);
       }, 2000);
       
  2. Sohail Saddique 2020-03-16

    *FR Passed* *Test Environment* Studio Ver: 5.1.4.201909061933 SDK Ver: 9.1.0 (this PR) OS Ver: 10.14.6 Xcode Ver: Xcode 11.3.1 Appc CLI: 7.1.2 Daemon Ver: 1.1.3 Ti CLI Ver: 5.2.2 Alloy Ver: 1.14.4 Node Ver: 10.17.0 Emulator: All iOS 13 simulators. Tested with < iOS 13 simulators, no crashes or anything unexpected.
  3. Samir Mohammed 2020-04-28

    Closing ticket fix verified in SDK version 9.1.0.v20200423073533. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/11489

JSON Source