-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSCTabBarViewController.m
46 lines (33 loc) · 1.03 KB
/
SCTabBarViewController.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// SCTabBarViewController.m
// scanorama
//
// Created by Lion User on 07/09/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "SCTabBarViewController.h"
@interface SCTabBarViewController (private)
- (UITabBar *)tabBar;
@end
@implementation SCTabBarViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// [[self tabBar] setBackgroundColor:[UIColor greenColor]];
[[self tabBar] setBackgroundImage:[UIImage imageNamed:@"tabBar_bg____1x48.png"]];
// [[self tabBar] setTintColor:[UIColor colorWithRed:30/255 green:30/255 blue:30/255 alpha:1]];
// Do any additional setup after loading the view.
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
-(void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item {
// NSLog(@"Viewsas pasikeite1");
}
@end