title: How to store big image in CloudKit?
body: <p>I tried to upload a picture to <code>CloudKit</code>, and store it as <code>NSData</code>, but with a relatively bigger picture, taken with camera, I get this error:</p>
  
  <pre><code>Error saving record &lt;CKRecordID: 0x15998770; 04359DFA-8370-4000-9F53-5694FC53FA9C:(_defaultZone:__defaultOwner__)&gt; to server: record too large id=04359DFA-8370-4000-9F53-5694FC53FA9C of type UserSetting
  </code></pre>
  
  <p>What is the maximum size of data is able to store in <code>CloudKit</code>?</p>
  
  <p>How do you store big images taken with camera in <code>CloudKit</code>?</p>
  
  <p>I tried with two image, and I plotting out size of them. </p>
  
  <pre><code>let d = UIImagePNGRepresentation(image)
  println("d.length: \(d.length)")
  </code></pre>
  
  <ul>
  <li><code>d.length: 55482</code> &lt;- works</li>
  <li><code>d.length: 17614327</code> &lt;- does not work</li>
  </ul>