Bach displays in a .playground file but is gray. Toggling different Result Display Modes did not help.
import UIKit import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true URLCache.shared = URLCache(memoryCapacity: 0, diskCapacity: 0, diskPath: nil) var theImage = UIImageView() let urlNew = NSURL(string: "https://upload.wikimedia.org/wikipedia/commons/6/6a/Johann_Sebastian_Bach.jpg") let task = URLSession.shared.dataTask(with: urlNew! as URL) { (data, response, error) -> Void in if error != nil { print("thers an error in the log") } else { DispatchQueue.main.async() { let image = UIImage(data: data!) theImage.image = image } } } task.resume() What is the best way to render Bach or any UIImageView in a .playground with Swift 3.0?

UIImageViewand just display theUIImagedirectly.UIImageViewtoUIImagehas no effect on the gray shading.