Commit 4eabe04e888ecd020aad291e2b492c781cc31f67

Authored by 王军波
2 parents 7815e127 3388a46a

Merge branch 'master' of bj.gitlab.cnlive.com:ios-team/LiveVideoCloud

Showing 38 changed files with 258 additions and 67 deletions
LiveVideoCloud.xcodeproj/project.pbxproj
... ... @@ -876,14 +876,14 @@
876 876 4B45CE431EB86A590079AFB7 /* Controllers */ = {
877 877 isa = PBXGroup;
878 878 children = (
  879 + 4B45CE481EB86A590079AFB7 /* LVCMineViewController.h */,
  880 + 4B45CE491EB86A590079AFB7 /* LVCMineViewController.m */,
879 881 D2393CFF1F020D5700D3EE17 /* FeedbackViewController.h */,
880 882 D2393D001F020D5700D3EE17 /* FeedbackViewController.m */,
881 883 4B45CE441EB86A590079AFB7 /* BeingAnchorController.h */,
882 884 4B45CE451EB86A590079AFB7 /* BeingAnchorController.m */,
883 885 4B45CE461EB86A590079AFB7 /* IDViewController.h */,
884 886 4B45CE471EB86A590079AFB7 /* IDViewController.m */,
885   - 4B45CE481EB86A590079AFB7 /* LVCMineViewController.h */,
886   - 4B45CE491EB86A590079AFB7 /* LVCMineViewController.m */,
887 887 4B45CE4A1EB86A590079AFB7 /* MineAboutUsController.h */,
888 888 4B45CE4B1EB86A590079AFB7 /* MineAboutUsController.m */,
889 889 4B45CE4C1EB86A590079AFB7 /* MineLiveController.h */,
... ... @@ -1123,12 +1123,12 @@
1123 1123 8178D41B1F02036200AA78A4 /* Controller */ = {
1124 1124 isa = PBXGroup;
1125 1125 children = (
1126   - 8178D41E1F02043500AA78A4 /* LVCFullScreenPlayerController.h */,
1127   - 8178D41F1F02043500AA78A4 /* LVCFullScreenPlayerController.m */,
1128   - 8178D4201F02043500AA78A4 /* LVCLivePlayerController.h */,
1129   - 8178D4211F02043500AA78A4 /* LVCLivePlayerController.m */,
1130 1126 8178D4551F0204D600AA78A4 /* LVCTelevisioController.h */,
1131 1127 8178D4561F0204D600AA78A4 /* LVCTelevisioController.m */,
  1128 + 8178D4201F02043500AA78A4 /* LVCLivePlayerController.h */,
  1129 + 8178D4211F02043500AA78A4 /* LVCLivePlayerController.m */,
  1130 + 8178D41E1F02043500AA78A4 /* LVCFullScreenPlayerController.h */,
  1131 + 8178D41F1F02043500AA78A4 /* LVCFullScreenPlayerController.m */,
1132 1132 );
1133 1133 path = Controller;
1134 1134 sourceTree = "<group>";
... ...
LiveVideoCloud/AppCustoms/Base/BaseViewController.m
... ... @@ -58,8 +58,8 @@
58 58 [_btnLeft setFrame:CGRectMake(0, 0, 30, 30)];
59 59 [_btnLeft addTarget:self action:@selector(onBackAction) forControlEvents:UIControlEventTouchUpInside];
60 60  
61   - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal];
62   - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted];
  61 + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal];
  62 + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted];
63 63 _btnLeft.highlighted = NO;
64 64 UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:_btnLeft];
65 65  
... ...
LiveVideoCloud/AppCustoms/Main/View/LVCTabBar.m
... ... @@ -32,7 +32,7 @@
32 32 if (!_liveBtn) {
33 33  
34 34 _liveBtn = [UIButton buttonWithType:UIButtonTypeCustom];
35   - [_liveBtn setImage:[UIImage imageNamed:@"Begin to live"] forState:UIControlStateNormal];
  35 + [_liveBtn setImage:[UIImage imageNamed:@"ic_camera_sel"] forState:UIControlStateNormal];
36 36 [_liveBtn addTarget:self action:@selector(liveBtnClick) forControlEvents:UIControlEventTouchUpInside];
37 37 [self addSubview:_liveBtn];
38 38 }
... ... @@ -43,13 +43,13 @@
43 43 {
44 44 [super layoutSubviews];
45 45  
46   - self.liveBtn.top = self.height - 195 / 3;
47   - _liveBtn.left = SCREEN_WIDTH * 0.5 - 195 / 6;
48   - _liveBtn.width = 195 / 3;
49   - _liveBtn.height = 195 / 3;
  46 + self.liveBtn.top = self.height - 96 / 2;
  47 + _liveBtn.left = SCREEN_WIDTH * 0.5 - 96 / 4;
  48 + _liveBtn.width = 96 / 2;
  49 + _liveBtn.height = 96 / 2;
50 50  
51 51 CGFloat buttonY = 19 - 3;//19 - 3.5;
52   - CGFloat buttonW = (self.width - 195 / 3)/ 4;
  52 + CGFloat buttonW = (self.width - 96 / 2)/ 4;
53 53 CGFloat buttonH = 30;
54 54  
55 55 NSInteger index = 0;
... ... @@ -59,7 +59,7 @@
59 59 CGFloat buttonX = index * buttonW;
60 60 if (index >= 2)
61 61 {
62   - buttonX += 195 / 3;
  62 + buttonX += 96 / 2;
63 63 }
64 64  
65 65 subView.frame = CGRectMake(buttonX, buttonY, buttonW, buttonH);
... ...
LiveVideoCloud/AppCustoms/Main/ZXTabBarController.m
... ... @@ -51,10 +51,10 @@
51 51  
52 52 - (void)createUI
53 53 {
54   - [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCVodPlayerListController alloc]init]] title:@"" image:@"home page" selectedImage:@"home page-click on"];
55   - [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCTelevisioController alloc]init]] title:@"" image:@"live_default" selectedImage:@"live_focused"];
56   - [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCUGCLiveListController alloc]init]] title:@"" image:@"news_default" selectedImage:@"news_focused"];
57   - [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCMineViewController alloc]init]] title:@"" image:@"my" selectedImage:@"my-click on"];
  54 + [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCVodPlayerListController alloc]init]] title:@"" image:@"ic_home" selectedImage:@"ic_home_sel"];
  55 + [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[UIViewController alloc]init]] title:@"" image:@"ic_live_tv" selectedImage:@"ic_live_tv_sel"];
  56 + [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCUGCLiveListController alloc]init]] title:@"" image:@"ic_videocam" selectedImage:@"ic_videocam_sel"];
  57 + [self setupOneChildViewController:[[ZXNavigationController alloc]initWithRootViewController:[[LVCMineViewController alloc]init]] title:@"" image:@"ic_person" selectedImage:@"ic_person_sel"];
58 58 }
59 59  
60 60 - (void)setupOneChildViewController:(UIViewController *)vc title:(NSString *)title image:(NSString *)image selectedImage:(NSString *)selectedImage
... ...
LiveVideoCloud/animation.xcassets/AppIcon.appiconset/Contents.json
1 1 {
2 2 "images" : [
3 3 {
4   - "idiom" : "iphone",
5 4 "size" : "20x20",
  5 + "idiom" : "iphone",
  6 + "filename" : "ic_launcher40.png",
6 7 "scale" : "2x"
7 8 },
8 9 {
9   - "idiom" : "iphone",
10 10 "size" : "20x20",
  11 + "idiom" : "iphone",
  12 + "filename" : "ic_launcher60.png",
11 13 "scale" : "3x"
12 14 },
13 15 {
14   - "idiom" : "iphone",
15 16 "size" : "29x29",
16   - "scale" : "2x"
17   - },
18   - {
19 17 "idiom" : "iphone",
20   - "size" : "29x29",
21   - "scale" : "3x"
  18 + "filename" : "ic_launcher29.png",
  19 + "scale" : "1x"
22 20 },
23 21 {
  22 + "size" : "29x29",
24 23 "idiom" : "iphone",
25   - "size" : "40x40",
  24 + "filename" : "ic_launcher58.png",
26 25 "scale" : "2x"
27 26 },
28 27 {
  28 + "size" : "29x29",
29 29 "idiom" : "iphone",
30   - "size" : "40x40",
  30 + "filename" : "ic_launcher87.png",
31 31 "scale" : "3x"
32 32 },
33 33 {
  34 + "size" : "40x40",
34 35 "idiom" : "iphone",
35   - "size" : "60x60",
  36 + "filename" : "ic_launcher80.png",
36 37 "scale" : "2x"
37 38 },
38 39 {
  40 + "size" : "40x40",
39 41 "idiom" : "iphone",
40   - "size" : "60x60",
  42 + "filename" : "ic_launcher120-1.png",
41 43 "scale" : "3x"
42 44 },
43 45 {
44   - "idiom" : "ipad",
45   - "size" : "20x20",
46   - "scale" : "1x"
47   - },
48   - {
49   - "idiom" : "ipad",
50   - "size" : "20x20",
51   - "scale" : "2x"
52   - },
53   - {
54   - "idiom" : "ipad",
55   - "size" : "29x29",
56   - "scale" : "1x"
57   - },
58   - {
59   - "idiom" : "ipad",
60   - "size" : "29x29",
61   - "scale" : "2x"
62   - },
63   - {
64   - "idiom" : "ipad",
65   - "size" : "40x40",
  46 + "size" : "57x57",
  47 + "idiom" : "iphone",
  48 + "filename" : "ic_launcher57.png",
66 49 "scale" : "1x"
67 50 },
68 51 {
69   - "idiom" : "ipad",
70   - "size" : "40x40",
  52 + "size" : "57x57",
  53 + "idiom" : "iphone",
  54 + "filename" : "ic_launcher114.png",
71 55 "scale" : "2x"
72 56 },
73 57 {
74   - "idiom" : "ipad",
75   - "size" : "76x76",
76   - "scale" : "1x"
77   - },
78   - {
79   - "idiom" : "ipad",
80   - "size" : "76x76",
  58 + "size" : "60x60",
  59 + "idiom" : "iphone",
  60 + "filename" : "ic_launcher120.png",
81 61 "scale" : "2x"
82 62 },
83 63 {
84   - "idiom" : "ipad",
85   - "size" : "83.5x83.5",
86   - "scale" : "2x"
  64 + "size" : "60x60",
  65 + "idiom" : "iphone",
  66 + "filename" : "ic_launcher180.png",
  67 + "scale" : "3x"
87 68 }
88 69 ],
89 70 "info" : {
... ...
LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher114.png 0 → 100644

4.69 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher120-1.png 0 → 100644

5.17 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher120.png 0 → 100644

5.17 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher180.png 0 → 100644

9.3 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher29.png 0 → 100644

1.38 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher40.png 0 → 100644

1.79 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher57.png 0 → 100644

2.62 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher58.png 0 → 100644

2.75 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher60.png 0 → 100644

2.6 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher80.png 0 → 100644

3.42 KB

LiveVideoCloud/animation.xcassets/AppIcon.appiconset/ic_launcher87.png 0 → 100644

3.6 KB

LiveVideoCloud/animation.xcassets/fanhui_default.imageset/Contents.json
... ... @@ -2,11 +2,11 @@
2 2 "images" : [
3 3 {
4 4 "idiom" : "universal",
5   - "filename" : "fanhui_default.png",
6 5 "scale" : "1x"
7 6 },
8 7 {
9 8 "idiom" : "universal",
  9 + "filename" : "fanhui_default.png",
10 10 "scale" : "2x"
11 11 },
12 12 {
... ...
LiveVideoCloud/animation.xcassets/fanhui_focused.imageset/Contents.json
... ... @@ -2,11 +2,11 @@
2 2 "images" : [
3 3 {
4 4 "idiom" : "universal",
5   - "filename" : "fanhui_focused.png",
6 5 "scale" : "1x"
7 6 },
8 7 {
9 8 "idiom" : "universal",
  9 + "filename" : "fanhui_focused.png",
10 10 "scale" : "2x"
11 11 },
12 12 {
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_camera.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_camera.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_camera.imageset/ic_camera.png 0 → 100644

3.39 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_camera_sel.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_camera_sel.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_camera_sel.imageset/ic_camera_sel.png 0 → 100644

4.77 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_home.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_home.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_home.imageset/ic_home.png 0 → 100644

1.24 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_home_sel.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_home_sel.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_home_sel.imageset/ic_home_sel.png 0 → 100644

1.56 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_live_tv.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_live_tv.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_live_tv.imageset/ic_live_tv.png 0 → 100644

1.56 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_live_tv_sel.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_live_tv_sel.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_live_tv_sel.imageset/ic_live_tv_sel.png 0 → 100644

2.07 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_person.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_person.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_person.imageset/ic_person.png 0 → 100644

1.39 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_person_sel.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_person_sel.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_person_sel.imageset/ic_person_sel.png 0 → 100644

1.79 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_videocam.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_videocam.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_videocam.imageset/ic_videocam.png 0 → 100644

1.04 KB

LiveVideoCloud/animation.xcassets/tabBar/ic_videocam_sel.imageset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "scale" : "1x"
  6 + },
  7 + {
  8 + "idiom" : "universal",
  9 + "scale" : "2x"
  10 + },
  11 + {
  12 + "idiom" : "universal",
  13 + "filename" : "ic_videocam_sel.png",
  14 + "scale" : "3x"
  15 + }
  16 + ],
  17 + "info" : {
  18 + "version" : 1,
  19 + "author" : "xcode"
  20 + }
  21 +}
0 22 \ No newline at end of file
... ...
LiveVideoCloud/animation.xcassets/tabBar/ic_videocam_sel.imageset/ic_videocam_sel.png 0 → 100644

1.29 KB