Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrate Kal Calendar to My Tab Bar:

Tags:

iphone

ipad

ios5

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.

like image 453
Hiren gardhariya Avatar asked Nov 13 '22 01:11

Hiren gardhariya


1 Answers

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];
like image 186
shawnwall Avatar answered Nov 16 '22 04:11

shawnwall