iOS SDK Content Creation and Updates - CM
This method creates a new record or updates an existing record if an ID of record is specified.
This method saves the record with a default priority, which may cause the task to execute after higher-priority tasks. To save records more urgently, create a
PWCMEModifyRecordsOperation object with the desired priority. You can also use that operation object to save multiple records simultaneously.
record – The record to save. You can create a new record or update an existing one if you specify its ID. An exception is thrown if this parameter is
completionHandler – The block to execute with the results. Your block must be capable of running on any thread of the app and must take the following parameters: -
record: The record object you attempted to save. -
error: An error object or
nil if the record was saved successfully. Use the information in the error object to determine whether a problem has a workaround.
ON THIS PAGE