To remove the add button beside the text field in your SwiftUI chat screen, exclude the attachment UI code from your custom input view and only implement text message sending using Sendbird SDK

How can I remove the add (attachment) button beside the text field in the chat screen? I want to allow only text message sending, not image or video sharing.


[SwiftUI Version]
Sendbird iOS SDK 4.28.0 (or your specific version)

  • Use Sendbird UIKit for building the chat UI.
  • By default, the input bar includes an add button for media attachments.
  • I want to customize the input bar in SwiftUI to remove this button.
  • I only want to send text messages using the Sendbird SDK.

Always

Users are currently able to see the add button and attempt to share media, which is not required for our use case. We want to limit the interaction to text messages only for a cleaner and focused chat experience.