// TUIContactConfig.htypedef NS_OPTIONS(NSInteger, TUIContactConfigItem) {TUIContactConfigItem_None = 0,TUIContactConfigItem_Alias = 1 << 0,TUIContactConfigItem_MuteAndPin = 1 << 1,TUIContactConfigItem_Background = 1 << 2,TUIContactConfigItem_Block = 1 << 3,TUIContactConfigItem_ClearChatHistory = 1 << 4,TUIContactConfigItem_Delete = 1 << 5,TUIContactConfigItem_AddFriend = 1 << 6,};/*** Hide items in contact config interface.*/- (void)hideItemsInContactConfig:(TUIContactConfigItem)items;
// When to call: Before initializing contact setting interface.// Valid for contacts.[[TUIContactConfig sharedConfig] hideItemsInContactConfig:TUIContactConfigItem_Block|TUIContactConfigItem_ClearChatHistory|TUIContactConfigItem_Delete];// Valid for strange users who have not been added to the contact.[[TUIContactConfig sharedConfig] hideItemsInContactConfig:TUIContactConfigItem_AddFriend];
Hide Partial Options | Hide All Options | Default |
| | |
Hide Adding Friends | Default |
| |
Was this page helpful?