I'm trying to enable the Camera and Apps buttons in MessageUI for my app. I haven't found any place in Apple's documentation on how to do this. Any ideas? Thanks!
UPDATE: I found a disableUserAttachments()
function in Apple's documentation, which is the opposite of what I'm looking for. Apple specifically says that this function disables the camera/attachment button in the message view. I don't have this code in my project and it's still disabled. I have not found something like enableUserAttachments which is what I think I need. Any ideas appreciated.
You can try like this.
if MFMessageComposeViewController.canSendAttachments() {
}
Refer this link below. developer.apple.com/messageui-sendattachments
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With