loganwright / SimpleChat

An Easy To Use Bubble Chat Interface
Mozilla Public License 2.0
262 stars 53 forks source link

Opaque navigation bar #6

Closed bliebman closed 10 years ago

bliebman commented 10 years ago

Hi Logan,

Great library, and I'll post the link to my app when it's done! I was just wondering how I could go about including an opaque navigation bar in my chat view. Right now, setting the translucent property of the nav bar to NO shifts the entire collection view down, which pushes the ChatInput bar off of the screen. How can I shift it back up?

Thanks!

loganwright commented 10 years ago

Hi @bliebman,

Are you experiencing this issue on the navigation controller branch, and do you have isNavigationControllerVersion set to YES? I'm not sure if opaque nav bars are supported on it, but I just want to make sure that we're working off of the same branch.

Best,

Logan

bliebman commented 10 years ago

Hey!

I am on the navigation controller branch, and I have the property set to YES. It works great when the nav bar is translucent, and the top bar doesn't appear.

Brandon

loganwright commented 10 years ago

Just wanted to give an update.

I haven't had a ton of time to work on this yet, and I'm not quite sure what is causing this. I have a very tight schedule right now, but I'll try to pick it back up when I can and try to track down the problem. Let me know if you find it before I do in the meantime.

Best,

Logan

loganwright commented 10 years ago

@bliebman

I'm able to replicate this issue, but solving it is a bit more complicated than I had hoped. The way I orient the views on screen isn't that great as its some older code, and it really needs an overhaul.

I created a branch with a temporary workaround that seems to be working in Portrait mode at least since it might be a bit before I can get back to this project. You can find that branch here:

https://github.com/LoganWright/SimpleChat/tree/OpaqueNavigationControllerWorkAround

Rotation seems problematic on this as well, so hopefully all of this will be fixed when I update to better drawing conventions.