Browse SDKs · iOS
SDKsiOS

Group applications overview

Retrieve, process, and listen for group applications on iOS.

Copy

This section documents received applications, sent applications, unhandled counts, acceptance, rejection, and record deletion separately. The pinned iOS SDK has no dedicated selector for querying or clearing a server-side badge.

- (void)startApplicationEvents { [[OIMManager callbacker] addGroupListener:self]; }
- (void)stopApplicationEvents { [[OIMManager callbacker] removeGroupListener:self]; }
- (void)onGroupApplicationAdded:(OIMGroupApplicationInfo *)item { [self upsertApplication:item]; }
- (void)onGroupApplicationAccepted:(OIMGroupApplicationInfo *)item { [self upsertApplication:item]; }
- (void)onGroupApplicationRejected:(OIMGroupApplicationInfo *)item { [self upsertApplication:item]; }
- (void)onGroupApplicationDeleted:(OIMGroupApplicationInfo *)item { [self removeApplication:item]; }

Merge events by groupID:userID. If a change occurs during pagination, reload from the first page.