Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27310] iOS 13: Support new type of UIBlurEffectStyle constants

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2019-08-30T10:57:52.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.2.0
ComponentsiOS
Labelsblureffect, ios
ReporterVijay Singh
AssigneeVijay Singh
Created2019-08-06T16:52:15.000+0000
Updated2020-11-24T09:59:04.000+0000

Description

In iOS 13, couple of new UIBlurEffectStyle constants are given. We need to expose these constants to developers.

Comments

  1. Vijay Singh 2019-08-06

    PR - https://github.com/appcelerator/titanium_mobile/pull/11117 Test Case -
       var win = Ti.UI.createWindow({
           backgroundColor: '#fff'
       });
       
       var btn = Ti.UI.createButton({
           title: 'Constants'
       });
       
       btn.addEventListener('click', function() {
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_ULTRA_THIN_MATERIAL);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THIN_MATERIAL);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_MATERIAL);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THICK_MATERIAL);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_CHROME_MATERIAL);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_ULTRA_THIN_MATERIAL_LIGHT);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THIN_MATERIAL_LIGHT);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_MATERIAL_LIGHT);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THICK_MATERIAL_LIGHT);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_CHROME_MATERIAL_LIGHT);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_ULTRA_THIN_MATERIAL_DARK);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THIN_MATERIAL_DARK);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_MATERIAL_DARK);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_THICK_MATERIAL_DARK);
           Ti.API.info(Ti.UI.iOS.BLUR_EFFECT_STYLE_SYSTEM_CHROME_MATERIAL_DARK);
       });
       
       win.add(btn);
       win.open();
       
  2. Samir Mohammed 2019-08-29

    FR Passed on 8_2_X. Waiting on Jenkins build.
  3. Christopher Williams 2019-08-29

    Merged to master (8.2.0)
  4. Samir Mohammed 2019-08-30

    *Closing ticket*, improvement verified in SDK version 8.2.0.v20190829124255. Note* Improvement will be merged into 8_3_X at a later date. Test and other information can be found at: PR - https://github.com/appcelerator/titanium_mobile/pull/11117

JSON Source