SDKsiOS
Set access to member profiles
Control whether group members can view other members’ profiles with OpenIM iOS SDK.
NSDictionary *changes = @{
@"groupID": groupID,
@"lookMemberInfo": @(OIMAllowTypeNotAllowed)
};
[[OIMManager manager] setGroupInfoDictionary:changes
onSuccess:nil
onFailure:nil];OIMAllowTypeAllowed has the value 0 and allows access. OIMAllowTypeNotAllowed has the value 1 and denies access. This setting is independent of permission to add friends from within a group.
After the success callback, reconcile the final state through onGroupInfoChanged: or a new query.
Was this page helpful?