TSMessages
TSMessages copied to clipboard
iOS7: no alpha and no blur effect
I tested it on the simulator with iOS 7.1 beta 5.
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.
LFGlassView looks to be a well-maintained replacement: https://github.com/radi/LiveFrost
Yes, the blur implementation is still old and needs to be replaced.
@getaaron I already started to work on this, based on Apples UIImage+ImageEffect category, see dennisreimann/TSMessages@8b629e5395a01ccad7d8f1498b0cbc2402359eda
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?
@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?
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.
Any news on this? Haven't support blur effect yet?
I'm currently adding this on the develop branch as we plan to include it in version 1.0
I will fix this in 0.X
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
Sorry, didn't have the time to progress yet and I'm afraid I won't be able to implement this anytime soon.
Ok thanks for your quick answer Dennis.
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.
@dennisreimann what's your opinion here?
@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.
+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
any updates on this?
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.
@nunogoncalves Do you need support for iOS7?
@ricardopereira IOS 8