移除不使用内容
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#import "GCDHelper.h"
|
||||
#import <MBProgressHUD/MBProgressHUD.h>
|
||||
#import "MvpViewController.h"
|
||||
#import <SVGA.h>
|
||||
|
||||
#define kDelayTime 2.5
|
||||
@interface XNDJTDDLoadingTool ()
|
||||
@@ -330,26 +329,6 @@ static NSArray * _animationImages = nil;
|
||||
UIView *bgView = [UIView new];
|
||||
bgView.backgroundColor = [UIColor clearColor];
|
||||
bgView.frame = CGRectMake(0, 0, 100, 150);
|
||||
SVGAParser *parser = [[SVGAParser alloc]init];
|
||||
SVGAImageView* playView = [[SVGAImageView alloc]init];
|
||||
playView.contentMode = UIViewContentModeScaleAspectFit;
|
||||
playView.frame = CGRectMake(0, 0, 100,150);
|
||||
playView.backgroundColor = [UIColor clearColor];
|
||||
playView.userInteractionEnabled = NO;
|
||||
|
||||
[parser parseWithNamed:@"pi_new_loading" inBundle:[NSBundle mainBundle] completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
|
||||
|
||||
playView.layer.masksToBounds = YES;
|
||||
playView.contentMode = UIViewContentModeScaleAspectFill;
|
||||
|
||||
|
||||
playView.videoItem = videoItem;
|
||||
[playView startAnimation];
|
||||
} failureBlock:^(NSError * _Nonnull error) {
|
||||
|
||||
}];
|
||||
|
||||
[bgView addSubview:playView];
|
||||
|
||||
return bgView;
|
||||
}
|
||||
|
Reference in New Issue
Block a user