-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with UIVisualEffectView as background #5
Comments
Is this code inside your custom collectionVIewCell ? if so you should probably add the blur effect view into the the contentView of the cell instead of directly inserting it to the cell. |
I see the screen shots and they seem fine to me. But maybe there is something i'm missing. What specifically about the screenshots you posted bothers you ? namely, what do you mean by "artifacts" is it the actual transform ? have you checked out the video, in the readme of the repo, the transforms are part of what makes the layout. But I love how you are using it it with blur views, it makes for an interesting effect |
There is strong diffrence between left and right blur view. Left has artifacts (blur is distorted in some kind of wrong way). It looks much worse when you are actually moving it around. I understand how the layout works and I like 3D transition. But I wanted to talk about cell recreation and possible problems which it may cause to uivisualeffectview. Any idea where to start looking? |
I see your point. I'll have to look into it for the layout. However, I'd say that you apply a similar transform (rotation around say the y axis) with different angles and see how the blur effect view behaves. |
Here is my test code for 3D transitions of this view. It seem to work fine on every axis.
|
I wanted to add finaly efficent bluring technique added in iOS8 - UIVisualEffectView to collectionViewCell, but there is something wrong with rendering it in every second cell.
I am not that fluent with layout so I decided to ask you to have a look.
I define blur background like this inside cell:
Any ideas what causes it?
The text was updated successfully, but these errors were encountered: