在 iOS Applozic 聊天 SDK 中隐藏附加按钮

Hiding attach button in iOS Applozic chat sdk

我想在 Applozic iOS 聊天 SDK 的聊天 window 中隐藏附加按钮。

我原以为这会作为一个设置包含在 ALApplozicSettings class。

要在 Applozic Android SDK 中执行此操作,您可以通过在 applozic-settings.json 中设置 "hideAttachmentButton":true 来简单地配置它. iOS SDK 中的等效项是什么?

Applozic 支持人员向我发送了以下答复。

Currently we do not have direct setting to hide attachment button. Are you using our code as target dependency or bundled framework? In case you are using our code as dependency, you can use below code to hide the attachment button:

Classname : ALChatViewController.m Method name: viewWillAppear code to add : [self.attachmentOutlet setAlpha:0.0];

In case, you are using bundled framework, you can try setting up framework code base.