SDKsiOS
设置群组扩展字段
使用 iOS SDK 设置群组的业务扩展字符串。
NSDictionary *changes = @{
@"groupID": groupID,
@"ex": mergedExtensionJSON
};
[[OIMManager manager] setGroupInfoDictionary:changes
onSuccess:nil
onFailure:nil];ex 是完整字符串,SDK 不会自动合并 JSON。写入前应解析旧值并保留其他业务模块的命名空间。
成功 callback、onGroupInfoChanged: 到达和重新查询是三个阶段,完整 delegate 见群组概览。
这个页面有帮助吗?