I\'m trying to save a UIImage to NSData and then read the NSData back to a new UIImage in Swift. To convert the UII
UIImage
NSData
UII
Use imageWithData: method, which gets translated to Swift as UIImage(data:)
UIImage(data:)
let image : UIImage = UIImage(data: imageData)