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
Asked
Active
Viewed 208 times
1
-
Are you talking about the tiny icons you see at bottom (under the view comtroller)? – Sandy D. Mar 04 '15 at 23:18
-
Can you describe exactly what you are doing? – Alex Cio Mar 05 '15 at 00:20
-
The icons are at the top in Xcode 6. IF you select the scene, they should appear. – rdelmar Mar 05 '15 at 01:51
1 Answers
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.
-
@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