developer
2023-10-23 5d70d9a1849bac7a9eb3f24931d6a8987dd7b6e3
b集成抖音短剧/Bug修复
20个文件已修改
2个文件已添加
387 ■■■■ 已修改文件
BuWanVideo2.0.xcodeproj/project.pbxproj 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/AllSpecialController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/AppDelegate.m 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/BaseViewController.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/CollectionController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/DYDramaVideoController.h 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/DYDramaVideoController.m 132 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/HelpViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/IndividualStarController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LeftViewController.m 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/LoggingViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MyRegardController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/MymessageContrlloer.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/Personal_informationViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/RegisteViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/StarsController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/TWScontroller.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/WebControllerView.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/forgetPasswordViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/liveTopicViewController.m 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Podfile 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Podfile.lock 139 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcodeproj/project.pbxproj
@@ -389,6 +389,7 @@
        7BFBC6861D6705AB0058FFEB /* SettingController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BFBC6821D6705AB0058FFEB /* SettingController.m */; };
        7BFBC6901D6705DD0058FFEB /* StorageSpaceTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BFBC68C1D6705DD0058FFEB /* StorageSpaceTableViewCell.m */; };
        7BFBC6911D6705DD0058FFEB /* StorageSpaceTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7BFBC68D1D6705DD0058FFEB /* StorageSpaceTableViewCell.xib */; };
        8BBDBCD72A739F6600EBDB45 /* DYDramaVideoController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BBDBCD52A739F6600EBDB45 /* DYDramaVideoController.m */; };
        AD73C5F51D4DE7DD0060437E /* GTMBase64.m in Sources */ = {isa = PBXBuildFile; fileRef = AD73C5F31D4DE7DD0060437E /* GTMBase64.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
        ADF0EF921D60C36F009310C9 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ADF0EF911D60C36F009310C9 /* WebKit.framework */; };
        ADF5E0A51D4E33C1005F8A9E /* LeftTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = ADF5E0A31D4E33C1005F8A9E /* LeftTableViewCell.m */; };
@@ -1043,6 +1044,8 @@
        7BFBC68B1D6705DD0058FFEB /* StorageSpaceTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageSpaceTableViewCell.h; sourceTree = "<group>"; };
        7BFBC68C1D6705DD0058FFEB /* StorageSpaceTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StorageSpaceTableViewCell.m; sourceTree = "<group>"; };
        7BFBC68D1D6705DD0058FFEB /* StorageSpaceTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = StorageSpaceTableViewCell.xib; sourceTree = "<group>"; };
        8BBDBCD52A739F6600EBDB45 /* DYDramaVideoController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DYDramaVideoController.m; sourceTree = "<group>"; };
        8BBDBCD62A739F6600EBDB45 /* DYDramaVideoController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DYDramaVideoController.h; sourceTree = "<group>"; };
        AD73C5EC1D4DD7E50060437E /* Common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Common.h; sourceTree = "<group>"; };
        AD73C5F21D4DE7DD0060437E /* GTMBase64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GTMBase64.h; sourceTree = "<group>"; };
        AD73C5F31D4DE7DD0060437E /* GTMBase64.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTMBase64.m; sourceTree = "<group>"; };
@@ -1132,12 +1135,14 @@
        0D98C0DB279163FF0077914D /* 内容联盟 */ = {
            isa = PBXGroup;
            children = (
                8BBDBCD62A739F6600EBDB45 /* DYDramaVideoController.h */,
                8BBDBCD52A739F6600EBDB45 /* DYDramaVideoController.m */,
                0D98C0DC2791685F0077914D /* DYDrawVideoController.h */,
                0D98C0DD2791689C0077914D /* DYDrawVideoController.m */,
                0D98C0FD279277210077914D /* DYNewsController.h */,
                0D98C0FE2792773C0077914D /* DYNewsController.m */,
                0D98C1032792D6660077914D /* DYGridVideoController.h */,
                0D98C1042792D6870077914D /* DYGridVideoController.m */,
                0D98C0FD279277210077914D /* DYNewsController.h */,
                0D98C0FE2792773C0077914D /* DYNewsController.m */,
            );
            name = "内容联盟";
            sourceTree = "<group>";
@@ -3024,6 +3029,7 @@
                7B32BD3D1D4F410F00E96E75 /* recommentCollectionViewCell.m in Sources */,
                18BC12BB1EDEAB68001E2FB0 /* AllLiveTypeCollectionViewCell.m in Sources */,
                7B8ADA391D585D43007A3FFD /* XYRVideoInfoModel.m in Sources */,
                8BBDBCD72A739F6600EBDB45 /* DYDramaVideoController.m in Sources */,
                ADF5E0A51D4E33C1005F8A9E /* LeftTableViewCell.m in Sources */,
                705F1F75251F1CA80065350E /* MJRefreshBackGifFooter.m in Sources */,
                7B9D31C31D5421E000EDED00 /* SubregionViewCollectionViewCell.m in Sources */,
@@ -3249,8 +3255,7 @@
                ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
                CLANG_ENABLE_OBJC_WEAK = YES;
                CODE_SIGN_ENTITLEMENTS = BuWanVideo2.0/BuWanVideo2.0.entitlements;
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_IDENTITY = "Apple Development";
                CODE_SIGN_STYLE = Automatic;
                CURRENT_PROJECT_VERSION = 98;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
@@ -3401,8 +3406,7 @@
                ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
                CLANG_ENABLE_OBJC_WEAK = YES;
                CODE_SIGN_ENTITLEMENTS = BuWanVideo2.0/BuWanVideo2.0.entitlements;
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_IDENTITY = "Apple Development";
                CODE_SIGN_STYLE = Automatic;
                CURRENT_PROJECT_VERSION = 98;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
BuWanVideo2.0/AllSpecialController.m
@@ -34,7 +34,7 @@
-(void)initScene{
    self.navigationItem.title = @"专题合集";
    
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};;
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/AppDelegate.m
@@ -32,6 +32,7 @@
#import "UITabBar+mainTab.h"
#import "GuessLikeViewController.h"
#import "DYDrawVideoController.h"
#import "DYDramaVideoController.h"
#import "DYNewsController.h"
#import "DYNovelController.h"
#import "CustomIOSAlertView.h"
@@ -54,7 +55,7 @@
#define TICK   NSDate *startTime = [NSDate date]
#define TOCK   NSLog(@"Time: %f", -[startTime timeIntervalSinceNow])
@interface AppDelegate ()<GDTSplashAdDelegate, BUSplashAdDelegate>
@interface AppDelegate ()<GDTSplashAdDelegate, BUSplashAdDelegate, UINavigationControllerDelegate>
@property (strong,nonatomic) GDTSplashAd *splash;
@@ -286,14 +287,23 @@
        UINavigationController *nmineVC = [[UINavigationController alloc]initWithRootViewController:mineVC];
        
        
        //信息流
        //短视频
        DYDrawVideoController *drawVC = [[DYDrawVideoController alloc]init];
        drawVC.tabBarItem.image = [[UIImage imageNamed:@"nav_draw_video"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
        drawVC.tabBarItem.selectedImage = [[UIImage imageNamed:@"nav_draw_video_highlight"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
        UINavigationController *ndrawVC = [[UINavigationController alloc]initWithRootViewController:drawVC];
        ndrawVC.navigationBar.hidden = YES;
        //短剧
        DYDramaVideoController *dramaVC = [[DYDramaVideoController alloc]init];
        dramaVC.tabBarItem.image = [[UIImage imageNamed:@"nav_draw_video"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
        dramaVC.tabBarItem.selectedImage = [[UIImage imageNamed:@"nav_draw_video_highlight"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
        UINavigationController *ndramaVC = [[UINavigationController alloc]initWithRootViewController:dramaVC];
        ndramaVC.delegate = self;
        
        self.tabBarController = [[SJTabbarViewController alloc]init];
        self.tabBarController.viewControllers = @[nrecommendVC,ndrawVC,nmineVC];//nnovelVC
        self.tabBarController.viewControllers = @[nrecommendVC,ndrawVC,ndramaVC,nmineVC];//nnovelVC
        self.tabBarController.tabBar.tintColor = YTHColor(0, 82, 246);
        self.tabBarController.tabBar.unselectedItemTintColor=YTHColor(153, 153, 153);
        [self.tabBarController.tabBar setClipsToBounds:YES];
@@ -317,6 +327,12 @@
        }
    }];
}
//短剧状态栏显示回调
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated{
        // 如果是子视图控制器,则禁用导航栏的修改
    [navigationController setNavigationBarHidden:YES animated:animated];
    NSLog(@"短剧显示回调");
}
- (void) initFinish{
    [self setupBUAdSDK];
BuWanVideo2.0/BaseViewController.m
@@ -44,9 +44,8 @@
    }
    NSLog(@"%f == %f  \n  %f === %f",KScreenH,KScreenW,[[UIScreen mainScreen] currentMode].size.height,[[UIScreen mainScreen] currentMode].size.width);
    //    设置颜色
    statusBarView.backgroundColor = kGlobalMainColor;
    [self.navigationController.navigationBar setBackgroundColor:kGlobalMainColor];
//    [self.navigationController.navigationBar setBackgroundColor:[UIColor orangeColor]];
    //statusBarView.backgroundColor = kGlobalMainColor;
    //[self.navigationController.navigationBar setBackgroundColor:kGlobalMainColor];
    [self.navigationController.navigationBar addSubview:statusBarView];
    //搜索
BuWanVideo2.0/CollectionController.m
@@ -84,7 +84,7 @@
 */
-(void)createNavgationBar{
    self.navigationItem.title = @"我的收藏";
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor blackColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    
    //返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
BuWanVideo2.0/DYDramaVideoController.h
New file
@@ -0,0 +1,15 @@
//
//  Header.h
//  BuWanVideo2.0
//
//  Created by aeline on 2022/1/14.
//  Copyright © 2022 com.yeshi.buwansheque.ios. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MainBaseController.h"
#import <LCDSDK/LCDSDK.h>
@interface DYDramaVideoController :MainBaseController <LCDPlayletInterfaceProtocol,LCDDrawVideoViewControllerDelegate>
@end
BuWanVideo2.0/DYDramaVideoController.m
New file
@@ -0,0 +1,132 @@
//
//  DYDrawVideoController.m
//  BuWanVideo2.0
//
//  Created by aeline on 2022/1/14.
//  Copyright © 2022 com.yeshi.buwansheque.ios. All rights reserved.
//
#import "DYDramaVideoController.h"
#import <LCDSDK/LCDSDK.h>
@interface DYDramaVideoController ()<LCDDrawVideoViewControllerDelegate , LCDAdvertCallBackProtocol>
@property
LCDDrawVideoViewController *vc;
@end
@implementation DYDramaVideoController
- (instancetype)init {
    self = [super init];
    if (self) {
        self.title = @"短剧";
    }
    return self;
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:animated];
    self.navigationController.navigationBar.translucent = NO;
}
- (void) viewDidLoad{
    [self buildCells];
}
- (void)viewDidAppear:(BOOL)animated{
   // if(self.vc!=nil){
   //    [self.vc drawVideoViewControllerDidAppear];
   // }
}
- (void)viewDidDisappear:(BOOL)animated{
    //if(self.vc!=nil){
    //    [self.vc drawVideoViewControllerDidDisappear];
    //}
}
- (void)buildCells {
    UIView *tmpView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,KScreenW,  KScreenH   - ALTabBar_H)];
    tmpView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:tmpView];
    self.vc=[[LCDDrawVideoViewController alloc] initWithConfigBuilder:^(LCDDrawVideoVCConfig * _Nonnull config) {
            LCDPlayletConfig *playletConfig = [LCDPlayletConfig new];
            playletConfig.playletMode = LCDPlayletModeOptions_Package;
            playletConfig.freeEpisodesCount = 10;
            playletConfig.unlockEpisodesCountUsingAD = 5;
            playletConfig.interfaceDelegate = self;
            config.playletConfig = playletConfig;
            config.drawVCTabOptions = LCDDrawVideoVCTabOptions_playlet_feed | LCDDrawVideoVCTabOptions_theater;
            config.viewSize=CGSizeMake(KScreenW, KScreenH   - ALTabBar_H);
            config.showCloseButton = NO;
            //config.hiddenPlayletTitleView=YES;
            config.delegate = self;
            config.playletFreeCount = 10;
            config.shouldHideTabBarView = YES;
    }];
    self.vc.modalPresentationStyle = UIModalPresentationFullScreen;
    [self addChildViewController:self.vc];
    [tmpView addSubview:self.vc.view];
    tmpView.layer.masksToBounds = YES;
}
- (void)clickEnterView:(LCDPlayletInfoModel *)infoModel {
    if (infoModel) {
        LCDPlayletConfig *config = [LCDPlayletConfig new];
        config.skitId = infoModel.skit_id;
        config.episode = infoModel.current_episode;
        config.playletMode = LCDPlayletModeOptions_Interface;
        LCDDrawVideoViewController *vc = [[LCDPlayletManager shareInstance] playletViewControllerWithParams:config];
        vc.modalPresentationStyle = UIModalPresentationFullScreen;
        [[UIViewController performSelector:@selector(lcd_topViewController)] presentViewController:vc animated:YES completion:nil];
    }
}
- (void) hiddenNavBar{
    if(self.navigationController){
        [self.navigationController setNavigationBarHidden:YES];
    }
}
//draw流播放器回调
- (void)drawVideoStartPlay:(UIViewController *)viewController event:(LCDEvent *)event {
NSLog(@"[短剧回调]Draw流 %s %@", __func__, event.description);
[self hiddenNavBar];
}
- (void)drawVideoOverPlay:(UIViewController *)viewController event:(LCDEvent *)event {
NSLog(@"[短剧回调]Draw流 %s %@", __func__, event.description);
[self hiddenNavBar];
}
- (void)drawVideoPause:(UIViewController *)viewController event:(LCDEvent *)event {
NSLog(@"[短剧回调]Draw流 %s %@", __func__, event.description);
[self hiddenNavBar];
}
- (void)drawVideoContinue:(UIViewController *)viewController event:(LCDEvent *)event {
NSLog(@"[短剧回调]Draw流 %s %@", __func__, event.description);
[self hiddenNavBar];
}
- (void)drawVideoPlayCompletion:(UIViewController *)viewController event:(LCDEvent *)event {
NSLog(@"[短剧回调]Draw流 %s %@", __func__, event.description);
    [self hiddenNavBar];
}
- (void)pageViewControllerSwitchToIndex:(NSInteger)index {
//NSLog(@"[短剧回调]切换tab回到 %s 切到index为%ld", __func__, index);
    [self hiddenNavBar];
}
@end
BuWanVideo2.0/HelpViewController.m
@@ -32,7 +32,7 @@
-(void)initScene{
    self.navigationItem.title = @"帮助与反馈";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/IndividualStarController.m
@@ -37,7 +37,7 @@
-(void)initScene{
    self.navigationItem.title = @"明星详情";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    //默认加载第一页的数据
    page=1;
BuWanVideo2.0/LeftViewController.m
@@ -60,6 +60,9 @@
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:animated];
    self.navigationController.navigationBar.translucent = NO;
    //if(@available(iOS 13.0,*)){
    //    self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
    //}
}
- (void)viewWillDisappear:(BOOL)animated {
BuWanVideo2.0/LoggingViewController.m
@@ -55,7 +55,7 @@
    self.navigationItem.title = @"账号登录";
    self.view.backgroundColor=[UIColor whiteColor];
    //设置账号登录的字体样式
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    //设置返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/MyRegardController.m
@@ -53,7 +53,7 @@
}
-(void)createNavgationBar{
    self.navigationItem.title = @"我的关注";
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor blackColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/MymessageContrlloer.m
@@ -75,7 +75,7 @@
-(void)createNavgationBar{
    self.navigationItem.title = @"我的消息";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    //取消侧边栏消息提醒
    [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"HaveMessage"];
BuWanVideo2.0/Personal_informationViewController.m
@@ -46,7 +46,7 @@
}
-(void)loadData{
    self.navigationItem.title = @"个人资料";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    //返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/RegisteViewController.m
@@ -29,7 +29,7 @@
    self.view.backgroundColor=[UIColor whiteColor];
    
    //设置账号登录的字体样式
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    //设置返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
BuWanVideo2.0/StarsController.m
@@ -34,7 +34,7 @@
-(void)initScene{
    self.navigationItem.title = @"明星合集";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};;
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};;
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/TWScontroller.m
@@ -51,7 +51,7 @@
-(void)initS{
    self.navigationItem.title = @"图文社";
    
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/WebControllerView.m
@@ -30,7 +30,7 @@
    self.navigationItem.title = @"发现";
    self.view.backgroundColor=[UIColor whiteColor];
    
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor whiteColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor blackColor],NSFontAttributeName:[UIFont systemFontOfSize:18]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];   //返回上个网页
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/forgetPasswordViewController.m
@@ -28,7 +28,7 @@
    self.view.backgroundColor=[UIColor whiteColor];
    
    //设置账号登录的字体样式
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    //设置返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
BuWanVideo2.0/liveTopicViewController.m
@@ -36,7 +36,7 @@
-(void)createNavgationBar{
    self.view.backgroundColor=[UIColor whiteColor];
    //设置账号登录的字体样式
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =@{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    //设置返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
Podfile
@@ -1,4 +1,4 @@
source 'https://github.com/CocoaPods/Specs.git'
#source 'https://github.com/CocoaPods/Specs.git'
#source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
#source 'https://github.com/volcengine/volcengine-specs.git'
#source 'http://repo.baichuan-ios.taobao.com/baichuanSDK/AliBCSpecs.git'
@@ -26,7 +26,7 @@
  #LCDSDK,版本号以赋能平台生成的Pod命令为准
  pod 'Pangrowth', '3.1.0.0', :subspecs => ['media']
  pod 'Pangrowth', '3.9.0.2', :subspecs => ['media']
  # AppLog SDK
  #pod 'RangersAppLog', '~> 5.6.6',
  #       :subspecs => ['Core', 'Log', 'Host/CN'],
@@ -34,7 +34,7 @@
  # 穿山甲SDK,版本号以赋能平台生成的Pod命令为准
  pod 'Ads-CN'
  # APMInsight SDK
  pod 'RangersAPM', '2.13.1', :subspecs => [
  pod 'RangersAPM', '3.3.1', :subspecs => [
       'Core',
       'Public',
       'Crash',
@@ -45,3 +45,24 @@
   pod 'Toast', '~> 4.0.0'
end
def find_and_replace(dir, findstr, replacestr)
  Dir[dir].each do |name|
    text = File.read(name)
    replace = text.gsub(findstr, replacestr)
    if text != replace
      puts "Fix: " + name
      File.open(name, "w") { |file| file.puts replace }
      STDOUT.flush
    end
  end
  Dir[dir + '*/'].each(&method(:find_and_replace))
end
post_install do |installer_representation|
  # 省略
  # Xcode14问题补丁,升级后可以移除:https://github.com/CocoaPods/CocoaPods/pull/11828
  find_and_replace("./Pods/Target Support Files/Pods-projectName/Pods-projectName-frameworks.sh", 'source="$(readlink "${source}")"', 'source="$(readlink -f "${source}")"')
end
Podfile.lock
@@ -69,56 +69,62 @@
  - OneKit/Database (1.4.2):
    - OneKit/Service
  - OneKit/Service (1.4.2)
  - Pangrowth/media (3.1.0.0):
    - PangrowthMedia (= 4.2.0.0)
    - RangersAPM/CN (= 2.13.1)
    - RangersAPM/Core (= 2.13.1)
    - RangersAPM/Crash (= 2.13.1)
    - RangersAPM/EventMonitor (= 2.13.1)
    - RangersAPM/HMD (= 2.13.1)
    - RangersAPM/Public (= 2.13.1)
    - RangersAppLog/Core (= 6.13.2)
    - RangersAppLog/Host/CN (= 6.13.2)
  - PangrowthMedia (4.2.0.0):
    - RangersAPM/CN (>= 2.13.1)
    - RangersAPM/Core (>= 2.13.1)
    - RangersAPM/Crash (>= 2.13.1)
    - RangersAPM/EventMonitor (>= 2.13.1)
    - RangersAPM/HMD (>= 2.13.1)
    - RangersAPM/Public (>= 2.13.1)
    - RangersAppLog/Core (~> 6.13.2)
    - RangersAppLog/Host/CN (~> 6.13.2)
    - RangersAppLog/Log (~> 6.13.2)
  - RangersAPM/Above (2.13.1)
  - RangersAPM/CN (2.13.1):
  - Pangrowth/media (3.9.0.2):
    - PangrowthMedia (= 4.9.0.2)
    - RangersAPM/CN (= 3.3.1)
    - RangersAPM/Core (= 3.3.1)
    - RangersAPM/Crash (= 3.3.1)
    - RangersAPM/EventMonitor (= 3.3.1)
    - RangersAPM/HMD (= 3.3.1)
    - RangersAPM/Public (= 3.3.1)
    - RangersAppLog/Core (= 6.15.1)
    - RangersAppLog/Host/CN (= 6.15.1)
  - PangrowthMedia (4.9.0.2):
    - RangersAPM/CN (>= 3.3.1)
    - RangersAPM/Core (>= 3.3.1)
    - RangersAPM/Crash (>= 3.3.1)
    - RangersAPM/EventMonitor (>= 3.3.1)
    - RangersAPM/HMD (>= 3.3.1)
    - RangersAPM/Public (>= 3.3.1)
    - RangersAppLog/Core (~> 6.15.1)
    - RangersAppLog/Host/CN (~> 6.15.1)
    - RangersAppLog/Log (~> 6.15.1)
  - RangersAPM/Above (3.3.1)
  - RangersAPM/CN (3.3.1):
    - RangersAPM/Core
    - RangersAPM/Public
  - RangersAPM/Core (2.13.1):
  - RangersAPM/Core (3.3.1):
    - OneKit/BaseKit (>= 1.1.19)
  - RangersAPM/Crash (2.13.1):
  - RangersAPM/Crash (3.3.1):
    - RangersAPM/Core
    - RangersAPM/HMD
    - RangersAPM/Public
  - RangersAPM/EventMonitor (2.13.1):
    - RangersAPM/SessionTracker
    - RangersAPM/Zip
  - RangersAPM/EventMonitor (3.3.1):
    - RangersAPM/Core
    - RangersAPM/HMD
    - RangersAPM/Public
  - RangersAPM/HMD (2.13.1):
  - RangersAPM/HMD (3.3.1):
    - OneKit/Database (>= 1.1.19)
    - RangersAPM/Core
  - RangersAPM/Public (2.13.1):
  - RangersAPM/Public (3.3.1):
    - RangersAPM/Above
    - RangersAPM/Core
    - RangersAPM/Zyone
    - RARegisterKit/Core
  - RangersAPM/Zyone (2.13.1)
  - RangersAppLog/Core (6.13.2):
    - RangersAppLog/Encryptor
  - RangersAppLog/Encryptor (6.13.2):
    - OneKit/BaseKit
  - RangersAppLog/Host/CN (6.13.2):
    - RARegisterKit/Core (>= 0.0.8)
  - RangersAPM/SessionTracker (3.3.1):
    - RangersAPM/Core
    - RangersAPM/HMD
    - RangersAPM/Public
  - RangersAPM/Zip (3.3.1)
  - RangersAPM/Zyone (3.3.1)
  - RangersAppLog/Core (6.15.1):
    - RangersAppLog/Encryptor/VOLC
  - RangersAppLog/Encryptor/VOLC (6.15.1)
  - RangersAppLog/Host/CN (6.15.1):
    - RangersAppLog/Core
  - RangersAppLog/Log (6.13.2):
  - RangersAppLog/Log (6.15.1):
    - RangersAppLog/Core
  - RARegisterKit/Core (0.0.10):
    - OneKit/BaseKit
@@ -156,12 +162,12 @@
  - AFNetworking (~> 3.0)
  - GDTMobSDK
  - IQKeyboardManager
  - Pangrowth/media (= 3.1.0.0)
  - RangersAPM/Core (= 2.13.1)
  - RangersAPM/Crash (= 2.13.1)
  - RangersAPM/EventMonitor (= 2.13.1)
  - RangersAPM/HMD (= 2.13.1)
  - RangersAPM/Public (= 2.13.1)
  - Pangrowth/media (= 3.9.0.2)
  - RangersAPM/Core (= 3.3.1)
  - RangersAPM/Crash (= 3.3.1)
  - RangersAPM/EventMonitor (= 3.3.1)
  - RangersAPM/HMD (= 3.3.1)
  - RangersAPM/Public (= 3.3.1)
  - ReactiveCocoa (from `https://github.com/zhao0/ReactiveCocoa.git`, tag `2.5.2`)
  - SDAutoLayout
  - SDWebImage (= 5.10.0)
@@ -173,25 +179,6 @@
  - YYWebImage
SPEC REPOS:
  https://gitee.com/mirrors/CocoaPods-Specs.git:
    - AFNetworking
    - IQKeyboardManager
    - SDAutoLayout
    - SDWebImage
    - SVProgressHUD
    - UMAPM
    - UMCCommon
    - UMDevice
    - YYImage
    - YYModel
    - YYWebImage
  https://github.com/CocoaPods/Specs.git:
    - Ads-CN
    - BUAdSDK
    - BURelyFoundation
    - GDTMobSDK
    - Toast
    - YYCache
  https://github.com/volcengine/volcengine-specs.git:
    - OneKit
    - Pangrowth
@@ -199,6 +186,24 @@
    - RangersAPM
    - RangersAppLog
    - RARegisterKit
  trunk:
    - Ads-CN
    - AFNetworking
    - BUAdSDK
    - BURelyFoundation
    - GDTMobSDK
    - IQKeyboardManager
    - SDAutoLayout
    - SDWebImage
    - SVProgressHUD
    - Toast
    - UMAPM
    - UMCCommon
    - UMDevice
    - YYCache
    - YYImage
    - YYModel
    - YYWebImage
EXTERNAL SOURCES:
  ReactiveCocoa:
@@ -212,16 +217,16 @@
SPEC CHECKSUMS:
  Ads-CN: 342fba3a46d17fa395da7bba1d88893fe33905e6
  AFNetworking: b6f891fdfaed196b46c7a83cf209e09697b94057
  AFNetworking: cb604b1c2bded0871f5f61f5d53653739e841d6b
  BUAdSDK: 002b735289815f703efc9108f66347ac61f1892a
  BURelyFoundation: 0de7dbb9acc7f69a0a56b09949260f5dc5a4e0ab
  GDTMobSDK: 085bb4c2390d78330405d90acfc43fa7f8d0a44e
  IQKeyboardManager: 241cc94ccabc9deb8f8bd7d12f00d73288d13ecc
  OneKit: 05d59eb122e247640c35ceb28b300ae27e89cb88
  Pangrowth: 2e9d5256c29cff23d88f56adf90f6e5a30e734e9
  PangrowthMedia: 588022e632c7b76a08d24733552659a14898ca14
  RangersAPM: 58aefbac58455e07f2c0e4e0bfd0a4acd83a5cd6
  RangersAppLog: aca2ba1dd540ae001120f5fe1e391aafc82aa1c7
  Pangrowth: aa585a527ef38f341e13c27e2e101f2c3656a597
  PangrowthMedia: 336735efc968d250fb6dacc7770338ce42c7e9fe
  RangersAPM: cb1dc82a67e4924b240d8dcdda33fa36667283fc
  RangersAppLog: e2ebfdf782bd3fb8ad26f50e6b581dcc6872c96f
  RARegisterKit: 77fcecfaf9bb74f7b89ee2a9df4b75b02af03635
  ReactiveCocoa: 3ff25b1bd992ac79c5c79b26b6c0c1713b715bb2
  SDAutoLayout: 8bf6b3bbc8b01f775d4defbb4fda2ace805461be
@@ -236,6 +241,6 @@
  YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
  YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
PODFILE CHECKSUM: 1120521f912edf61977652caadc3ab3bf1bb84ad
PODFILE CHECKSUM: 7206d661c260c67cf85ecc66a5097e2b50122f2e
COCOAPODS: 1.11.2
COCOAPODS: 1.12.1