Saving an image array with UserDefaults
问题 I have an app where the user takes a picture and once the picture is taken it should be saved to UserDefaults . I keep getting this error: "cannot invoke 'setObject' with an argument list of type '(UIImage. type, forKey:[UIImage])'" I've searched through documentation and posts on here, but nothing helps. This is my code. let defaults = NSUserDefaults.standardUserDefaults() func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [NSObject : AnyObject])