[AC-5642] BlurView not working on Titanium SDK 7.0.2 and 7.1.0 RC
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2018-03-05T18:31:02.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | 7.0.2, 7.1.0RC, BlurView |
Reporter | Fran Rodas |
Assignee | Shak Hossain |
Created | 2018-03-05T13:16:03.000+0000 |
Updated | 2018-03-05T20:48:12.000+0000 |
Description
The simple example not working
It shows a gray view.
// Reference image (or view)
var img = Ti.UI.createImageView({
image: "images/cielo.jpg",
top: 0,
left : 0,
width: 200,
height: 200
});
// Blur view
var blur = Ti.UI.iOS.createBlurView({
width: Ti.UI.FILL,
height: Ti.UI.FILL,
effect : Ti.UI.iOS.BLUR_EFFECT_STYLE_EXTRA_LIGHT
});
img.add(blur);
$.loginWindow.add(img);
Attachments
File | Date | Size |
---|---|---|
Captura de pantalla 2018-03-05 a las 16.24.02.png | 2018-03-05T17:20:44.000+0000 | 153447 |
Captura de pantalla 2018-03-05 a las 17.18.37.png | 2018-03-05T20:46:44.000+0000 | 236658 |
testing.zip | 2018-03-05T16:15:11.000+0000 | 9373037 |
Tested locally on 7.1.0.RC. It works fine without the backgroundColor. Not sure what added value a backgroundColor on blurview has.
Doesn´t works for me. Removing the backgroundColor...
[^testing.zip] Adding a blank project...
I added a screenshot [~frodfigu] sent to me. I wasn't able to reproduce with his code. [~frodfigu] please update the ticket with your versions, Alloy/Mac/Appc CLI etc
The blur-view is working as expected. Please note that the blur-radius (I think it's 45px natively) will make the image look different than before, just like the screenshot. Also note that you usually add the image to the blur-view, not the blur view to the image. See the [kitchensink example](https://github.com/appcelerator/kitchensink-v2/blob/master/app/views/controls/views/blurview.xml) for details. Resolving as this is not an SDK issue.
Solved! Was the iOS simulator setting. !Captura de pantalla 2018-03-05 a las 17.18.37.png|thumbnail! I dont´ touch this option, and I don´t know how it auto-changed. Thank you very much for your support.