I am developing an iPad application and relatively new in the business. I am trying to integrate Kal Calendar into Tab item, that appear after logged into application. But couldn't able to do so.
If you are trying to show a full screen view controller once a tab bar item is selected. You will want your tab bar item's view controller to be of type KalViewController. If you are doing this in interface builder with storyboards you would have a tab bar controller as your initial view and then drag a UIViewController onto the storyboard. Change that view controller's class to KalViewController and add it to the tab bar view controllers items.
If you are doing this in code, instantiate the KalViewController and add it to the UITabBarController's items:
KalViewController *kalVC = [[KalViewController alloc] init];
//set your tab bar's items, assuming you have a ref to the tab bar
tabBarController.tabBar setItems:@[kalVC,otherVC];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With