Does the IKImageView imageCorrection property work?

368 Views Asked by At

IKImageView offers an 'imageCorrection' property, which takes a CIFilter and, presumably, uses it when displaying the image.

When I tried using it recently, it didn't work for me. When I set the property to a new CIFilter instance, it remains nil.

Has anyone managed to use this successfully?

1

There are 1 best solutions below

2
On

When I tried using it recently, it didn't work for me. When I set the property to a new CIFilter instance, it remains nil.

You probably didn't hook up your outlet to your image view, so the pointer in your outlet is nil, so you sent your setImageCorrection: message (whether implicit or explicit) to nil.