How to Add UITabBarSystemItemContacts in StoryBoard
Without StroyBoard we use initWithNibName Method to add System Icons to Tab Bar Controller. I found the sample below
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
self.tabBarItem = [[UITabBarItem alloc]initWithTabBarSystemItem:UITabBarSystemItemContacts tag:1];
}
returnself;
}
But if I am using StoryBorad, Under Which Method I have to implement this instead of initWithNibName since there is no nib files. Please help me if there any sample.
Thanks
iPhone 4, iOS 5.1