SDKsiOS
Clear all local messages
Clear every local message for the current account with OpenIM iOS SDK.
[[OIMManager manager] deleteAllMsgFromLocalWithOnSuccess:^(NSString *data) {
[self resetAllMessageSnapshots];
} onFailure:nil];This is a destructive account-level operation. Success means only that messages were cleared from the current device's local storage. The server retains history, which may synchronize again after the local database is rebuilt. This selector has no dedicated deletion event.
Was this page helpful?