[TIMOB-26073] iOS: Implement support for custom TextField backgroundColor in SearchBar
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-06-22T09:21:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | n/a |
Labels | ios, searchBar |
Reporter | Andrea Vitale |
Assignee | Hans Knöchel |
Created | 2018-05-28T12:10:23.000+0000 |
Updated | 2018-10-16T10:35:03.000+0000 |
[~Andrea.Vitale] thanks a lot for this PR!
For exposing backgroundColor we have to use private API which may be cause of app rejection. So for getting similar effect fieldBackgroundImage and fieldBackgroundDisabledImage introduced. See the discussion [here](https://github.com/appcelerator/titanium_mobile/pull/10079/commits/26643f94147f7ba56dc264e3af1810764e27d39a).
*Closing ticket.*
fieldBackgroundImage
works as expected to display an image behind the searchbar The improvement is present in SDK: {noformat} 7.5.0.v20181014021130 {noformat} *ENV* {noformat} iPhone 6 (11.4, 12.0) Simulator 12.0 Appc NPM: 4.2.13 Appc CLI: 7.0.6 Ti CLI: 5.1.1 Node: 8.12.0 Xcode: 10 NPM: 6.4.1 {noformat}