Why does WWDC 2015 video 510 claim that it works to put a UIImage generated by calling UIImage(CIImage:) in a UIImageView? This has _never_ worked, and it still doesn't. The code they use is like this:
imageview.image = UIImage(CIImage:ciimage)
That displays nothing. The only way to display a UIImage based on a CIImage is to _render_ it, _explicitly_. A UIImageView is not going to magically do this for you. For example, in my own code, where the CIImage is called `blendimage`, this works fine:
UIGraphicsBeginImageContextWithOptions(myextent.size, false, 0)
UIImage(CIImage: blendimage).drawInRect(myextent)
let im = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
self.iv.image = im
But this does nothing: the image view is blank:
self.iv.image = UIImage(CIImage: blendimage)
The video surely would not be making this explicit radical claim if it isn't true. But it isn't true. So why do they make it? Is it _supposed_ to work but failing? Or have I just been missing something all these years that would make that line of code magically work?