title: Saving and loading image paths by NSUserdefaults
body: <p>My app allows the user to select a logo from their photo library and save it to their documents directory as follows:</p>
  
  <pre><code> var fileName:String = "logo.png"
  
          var arrayPaths = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0] as NSString
  
          var pngFileName = arrayPaths.stringByAppendingPathComponent(fileName)
  
         UIImagePNGRepresentation(pickedImage).writeToFile(pngFileName, atomically:true)
  
          NSUserDefaults.standardUserDefaults().setObject(fileName, forKey: "pngFileName")
          NSUserDefaults.standardUserDefaults().synchronize()
  </code></pre>
  
  <p>I want to then use the image within another viewcontroller but I can't figure out how to access the image from their user defaults and then use in the current viewcontroller.</p>