In my app, I have a similar view like Instagram reels where video plays and at bottom there is profile picture, description of video, like button and comments button.
When I click comments button, I would like to show comments table view controller covering upto half screen, with comments and inputbar accessoryview at bottom like below: half screen view controller
When I click inside inputbar accessoryview, the comments view controller show cover fullscreen and should show keyboard like below: full screen view controller
Please advise me on how to achieve this behaviour.