private void OnRecordSaved(CKRecord record, NSError error)
    {
        Debug.Log("OnRecordSaved");
        if (error != null)
        {
            Debug.LogError("Could not save record: " + error.LocalizedDescription);
        }

        database.FetchRecordWithID(record.RecordID, OnRecordFetched);
    }
    private void FetchRecord(string recordName)
    {
        // Most operations are done via using a recordID as a handle to the
        // record itself. If you don't have an instance of the record laying
        // around to get it's record ID from. This is how you would go about
        // creating one using a known record name...

        var recordId = new CKRecordID(recordName);

        database.FetchRecordWithID(recordId, OnRecordFetched);

        // if you don't specify a record name when you create the record one is
        // automatically created for you. If you want to manually set one you
        // can do it like this...
        // var record = new CKRecord("MyType", new CKRecordID("ExampleRecordName"))
    }