SlackTextViewController
SlackTextViewController copied to clipboard
Keyboard Doesn't Work With TabBarControl
Hi,
The sample project does not work when you add a tabbar control. I am on the master branch. I simply added a tab bar control to the sample project. The tab bar and control appears, but when I type in the input bar, nothing appears. I have the sample project, happy to upload it if it helps.
`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
UITabBarController *tabBar = [[UITabBarController alloc] init];
[tabBar.tabBar setBackgroundColor:[UIColor whiteColor]];
[tabBar.tabBar setTintColor:[UIColor redColor]];
[tabBar.tabBar setTranslucent:NO];
tabBar.delegate = self;
UINavigationController *messageViewController = [[UINavigationController alloc] initWithRootViewController:[MessageViewController new]];
[tabBar setViewControllers:@[messageViewController]];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = tabBar;
[self.window makeKeyAndVisible];
return YES;
} ` -R
There is an example of how this library works with UITabBarController, on the sample project.

Please provide your sample project for better understanding, if this is still an issue for you of course.
I'm experiencing a similar bug when pushing with a the SlackTextViewController onto a navigation controller with a tab bar. Even when using hidesBottomBarWhenPushed on the VC.

This seems to go away if I forcibly load the SlackTextViewController's view by calling vc.view before pushing.
Still seeing this issue!