ringcentral / engage-digital-messaging-ios

Engage Digital Messaging IOS SDK
Other
10 stars 6 forks source link

When clicking on attachment icon nothing is happening #37

Closed patelvivek9115 closed 3 years ago

patelvivek9115 commented 4 years ago

When I am clicking on attachment icon no action sheet or other option is opening, also after some bottom portion of char screen is black and after closing the view and when I am reopening it the bottom input bar is invisible

waelba commented 4 years ago

Hi @patelvivek9115 ,

Can you provide with these informations please:

Which SDK version are you using ? Can you give me a snippet of your code ?

Thank you.

patelvivek9115 commented 4 years ago

I am using the latest one and here is my code sample, also my device is iPhone 11 and iOS version is 13.3.1

       let dimelo: Dimelo = Dimelo.sharedInstance()

        guard let controller = dimelo.chatViewController() else{
            return
        }

        controller.modalPresentationStyle = .fullScreen

        let barItem = UIBarButtonItem(image: #imageLiteral(resourceName: "back_white_arrow"), style: .plain, target: self, action: #selector(actionBack))

        barItem.tintColor = .white

        controller.navigationItem.leftBarButtonItem = barItem

        self.tabBarController?.present(controller, animated: true, completion: nil)
patelvivek9115 commented 4 years ago

IMG_5025 IMG_5026 2

waelba commented 4 years ago

One more question, you use a SceneDelegate in your projet ?

patelvivek9115 commented 4 years ago

Yes I have used, also I am not calling the code from AppDelegate class, it's my other controller from which I am opening the chat view.

waelba commented 4 years ago

OK I'll take a look and I'll come back to you. Thank you

patelvivek9115 commented 4 years ago

Sure thanks

patelvivek9115 commented 4 years ago

@wa-el Please let me know if you have found any solution?

waelba commented 3 years ago

Hi @patelvivek9115 ,

It's fixed in v2.2.0

Thanks