1

I'm trying to follow this tutorial, however my TableView has absolutely no icons under it, so I'm not sure how to connect the data array from the ViewController.m to the Table View. Every tutorial I've come across has the icons, though I am using Xcode 6.0

1 Answers1

0

Did you use the initWithTitle:image:tag: ? Maybe the image you selected is not available.

UITabBarItem *tabBarItem = 
  [[UITabBarItem alloc] initWithTitle:@"TWO"
                                image:[UIImage imageNamed:@"GT_TWO.png" 
                                  tag:0];
self.tabBarItem = tabBarItem;

Here is also an example where everything is setup in one plays, maybe nice if you have a subclass of UITabBarController. But you could also set it up inside the UIViewController which should be represented by a tap.

Community
  • 1
  • 1
Alex Cio
  • 6,014
  • 5
  • 44
  • 74
  • @Chuckie do you think it makes it more easy to read a post if you have to scroll inside the code box? – Alex Cio Mar 05 '15 at 09:20