alexdrone / ios-realtimeblur

Multipurpose real-time blur view for iOS6+
MIT License
951 stars 107 forks source link

CGContextTranslateCTM error when poping UIView #15

Closed lucaslain closed 10 years ago

lucaslain commented 10 years ago

Hello,

I've used your library to implement a blur on a UIImageView (awesome work). The thing is that when I go back to the previous view, this error shows up:

"CGContextTranslateCTM: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update."

I think it's a problem within the function renderLayerWithView because the context is not present anymore.

I'll try to fixit myself. Just letting you know! thanks!

MikeDaniel18 commented 10 years ago

Get any further with this? Just encountered the problem myself.

Mike

EDIT: Should have looked around before posting. Perfect asnwer here: https://github.com/alexdrone/ios-realtimeblur/issues/2

MikeDaniel18 commented 10 years ago

Very good, thank you mdb983. Works well.

lucaslain commented 10 years ago

Thanks!