GabrielAguilera / RoomEase

EECS 441 - W16 Project
1 stars 0 forks source link

Chat Option Only Appears If Messenger Installed #3

Closed GabrielAguilera closed 8 years ago

aboukasm commented 8 years ago

Right now, the chat option is disabled but the logic is still there, it will just need to be reconnected to the Tab View Controller. This feature can be achieved only through code customization in the ChatViewController.

GabrielAguilera commented 8 years ago

I've added this functionality by adding a CustomTabBarController subclass that ties a new TabBarItem to the old ChatViewController we had. It's up on the ChatWork branch.

Here it is on a simulator with messenger not installed: simulator screen shot apr 5 2016 5 15 45 am

Here it is on my device with messenger installed: screen shot 2016-04-05 at 5 19 09 am

If you click the TabBarItem, it'll open messenger right away. When you return to RoomEase, you'll see the ChatViewController with the Messenger button like before but clicking it won't open the app, only clicking the TabBarItem will.

If this looks good on your end too, close the issue and I'll merge into master!

aboukasm commented 8 years ago

Hellllll yeahhh dude this is sick! I might change the icon back or find a different one that matches the other two but that can be done later