0

I'm working on a messaging app which uses MessageKit. It works well on the iPhone. But, I need to support iPad screens as well. On the iPad, the input bar, which is supposed to be contained in the details (view) area, extends to the master (view) area. I need to limit the input bar on the details and a tab bar will be visible on the master. Anyone have an experience fixing this?

Here's how the input bar looks like in a sample project: enter image description here

yoninja
  • 1,952
  • 2
  • 31
  • 39
  • how you have added the input bar to the code – Vinodh Jun 12 '18 at 08:30
  • @Vinodh, I just implemented a subclass of the MessagesViewController. Basically, in the example image, DetailViewController (maroon background) is a subclass of MessagesViewController. – yoninja Jun 12 '18 at 08:52
  • then you need to work on MessagesViewController to fix the inout bar on viewcontroller alone – Vinodh Jun 12 '18 at 09:27
  • @Vinodh, can you clarify your statement? MessagesViewController is part of MessageKit library by the way. Have you tried MessageKit before? – yoninja Jun 12 '18 at 09:31
  • This is an interesting issue but is actually the expected behavior. Since you will select the input bar and the keyboard will be show across the entire screen. The library will not support this customization but it will support hiding the input bar and letting you implement your own. – Dan Leonard Oct 12 '18 at 16:38
  • @DanielLeonard, I understand that it is the expected behavior but the app I'm working on is bound to the requirement (of limiting the input bar within the details area). I think hiding the default input bar and having a way to add my own input bar sounds like a good idea. – yoninja Oct 14 '18 at 19:44
  • Ya I think that is you best route. I believe I did this in a project I will have to see what I tried. But mostly what I am saying is that the library is not going to provide a way to do it and you will have to roll your one input bar solution. But the app does make a good source for how to do that. – Dan Leonard Oct 16 '18 at 17:53

0 Answers0