How to add CIFilter to CALayer?

There is no CIFilter in iPhone OS. There is CAFilter but it is a private API so using it on AppStore apps means rejection. If you already know what images you will use, you could create the blurred image in the first place.

There is no CIFilter in iPhone OS. There is CAFilter but it is a private API so using it on AppStore apps means rejection. If you already know what images you will use, you could create the blurred image in the first place.

See How to implement a box or gaussian blur on iPhone on how to implement a Gaussian blur filter "legally". See CAFilter — iPhone Development Wiki on how to apply a blur filter on a CALayer using the private CAFilter class.

As per your second answer(Wiki) , when I am trying to make an object of CAFilter CAFilter *_filter ; it shows same error . – new_programmer Sep 17 '10 at 17:42 @new: You need to declare CAFilter yourself how it is a "private APIâ„¢". – KennyTM Sep 17 '10 at 17:48 @Kenny Can you explain it, declaring CAFilter.

– new_programmer Sep 17 '10 at 17:54 1 @new: That means you need to add a @interface CAFilter : NSObject @end to the file you're going to use. – KennyTM Sep 17 '10 at 17:56 Thank you for your nice reply. Its its my first time to get a reply like this.

– new_programmer Sep 17 '10 at 18:10.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions