Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Tabbar display issue, hides input bar #179

Closed
Fredehagelund92 opened this issue Feb 28, 2014 · 2 comments
Closed

Tabbar display issue, hides input bar #179

Fredehagelund92 opened this issue Feb 28, 2014 · 2 comments

Comments

@Fredehagelund92
Copy link

I've added a UITabBarController. This tabBar will be on top of the message bar. How can i make this chatView smaller? so the message bar is not under the tabBar.

i've tried making it smaller by this code:

self.tableView.frame = CGRectMake(0, 0, self.view.frame.size.width,self.view.frame.size.height-50);
in the chatViewController.

Where and how can i make the JCMessageTableView smaller, so the messageBar is not hiding under the tabBar?

@jessesquires
Copy link
Owner

hey @Fredehagelund92 -- checkout the discussion in #94.

your best bet is probably using a container view that is sized above the tabbar.

EDIT: version 5.0 will resolve this.

@jessesquires
Copy link
Owner

I've decided not to support this, for a couple of reasons:

  1. this is actually pretty difficult. i attempted this and it gets dirty pretty quickly. so i decided it was not worth the dev effort, especially (mostly) because of (2) below
  2. i realized that this is really bad UI/UX. no other chat interfaces that i've seen show the tabbar. for example, FB messenger shows your chat list as the first tab in the tabbar controller. however, when you select a chat, the chat view pushes over and the tabbar is hidden. i think this is the proper way to do it. you shouldn't be showing this VC with a tabbar visible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants