Skip to content
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

iOS7: no alpha and no blur effect #109

Open
ricardopereira opened this issue Feb 14, 2014 · 20 comments
Open

iOS7: no alpha and no blur effect #109

ricardopereira opened this issue Feb 14, 2014 · 20 comments
Labels
Milestone

Comments

@ricardopereira
Copy link

I tested it on the simulator with iOS 7.1 beta 5.

ios simulator screen shot 14 feb 2014 12 21 39

@dennisreimann
Copy link
Contributor

That's a known issue occuring since iOS 7.0.3.

TSMessages currently tricks the blurring by using the UIToolbars layer for doing the blur, but Apple changed their implementation so that the effect is not like what you see in the README anymore.

@getaaron
Copy link

LFGlassView looks to be a well-maintained replacement: https://github.com/radi/LiveFrost

@KrauseFx
Copy link
Owner

Yes, the blur implementation is still old and needs to be replaced.

@dennisreimann
Copy link
Contributor

@getaaron I already started to work on this, based on Apples UIImage+ImageEffect category, see dennisreimann/TSMessages@8b629e5

However this solution works only for static blur effects and we'd need something dynamic, so that it works in conjunction with scrollviews underneath the messages. I think FXBlurView would also be a good option here, but refrained from adding it, because I did not want to introduce a dependency.

@KrauseFx What's your take on this?

@KrauseFx
Copy link
Owner

@dennisreimann Another dependency is fine I guess. It's better than copying the files or implementing our own blur. Is there any big disadvantage of a new dependency?

@dennisreimann
Copy link
Contributor

No, but I just wanted to talk to you about that beforehand. I'd roll with the most popular library for that then, so that there's a chance for it being already a dependency of a project where TSMessages is also used in.

@KrauseFx KrauseFx added this to the 1.0 milestone Feb 22, 2014
@zhuhuihuihui
Copy link

Any news on this? Haven't support blur effect yet?

@dennisreimann
Copy link
Contributor

I'm currently adding this on the develop branch as we plan to include it in version 1.0

@mRs-
Copy link
Collaborator

mRs- commented Apr 3, 2014

I will fix this in 0.X

@mRs- mRs- self-assigned this Apr 3, 2014
@mRs- mRs- added the bug label Apr 3, 2014
@thieu75
Copy link

thieu75 commented Apr 4, 2014

any progress on the UIToolbar remplacement ? It seems that Apple has started to reject app with the UIToolbar "hack".

http://www.quora.com/IOS-Development-Will-Apple-really-reject-my-app-if-I-use-this-trick-to-implement-blur-view

@dennisreimann It seems that you've worked with the apple shown implementation. Will you pull request it on the development branch soon ?

Thanks for your great job.
I love the elegancy of use of TSMessages.
Matthieu

@dennisreimann
Copy link
Contributor

Sorry, didn't have the time to progress yet and I'm afraid I won't be able to implement this anytime soon.

@thieu75
Copy link

thieu75 commented Apr 4, 2014

Ok thanks for your quick answer Dennis.

@mRs-
Copy link
Collaborator

mRs- commented Apr 29, 2014

The main problem with the blur effect is, that apple only provide a static image blur…

When we implement the TSMessage over a UIScrollView there would only be a snapshot of the current position and no updates if the user modify the position of the scrollview.

My current solution is to drop the blur effect for iOS 7, because apple is not willing to share the live image blur till now and revamp the basic colors of the current version to blend the ui better in iOS7.

@mRs-
Copy link
Collaborator

mRs- commented May 9, 2014

@dennisreimann what's your opinion here?

@dennisreimann
Copy link
Contributor

@mRs- I think this is a pragmatic approach to handle it. I had my fair share of trying to make this work and couldn't find a solution I was content with.

With the changes that are on the current develop branches, users would at least get access to the message view, so they could implement a blurring solution themselves if they need to.

@thieu75
Copy link

thieu75 commented May 9, 2014

+1 @dennisreimann
I've done exactly this. Use the develop branch and substitute the Uitoolbar by a simple plain UIView.
The API has changed but accessing the TSMessageView is quite practical ! Thanks

@cytryn
Copy link

cytryn commented Mar 5, 2015

any updates on this?

@nunogoncalves
Copy link

Hi! I would also like to know if there is any news on this one. I was amazed with the way it looked in the READ ME and am trying to make the same effect but can't.

@ricardopereira
Copy link
Author

@nunogoncalves Do you need support for iOS7?

@nunogoncalves
Copy link

@ricardopereira IOS 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants