title: Decode a base64 data to image
body: <p>This code doesn't working with Swift 3 anymore.</p>
  
  <pre><code>imageData = NSData(base64EncodedString: mediaFile, options: NSDataBase64DecodingOptions.fromRaw(0)!)
  </code></pre>
  
  <p>So is this one.</p>
  
  <pre><code>imageData = NSData(base64EncodedString: mediaFile, options: .allZeros)
  </code></pre>