This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ - (void)viewDidLoad
3636 self.imageView .translatesAutoresizingMaskIntoConstraints = NO ;
3737 [self .imageView.leftAnchor constraintEqualToAnchor: self .view.leftAnchor].active = YES ;
3838 [self .imageView.widthAnchor constraintEqualToAnchor: self .view.widthAnchor].active = YES ;
39- [self .imageView.topAnchor constraintEqualToAnchor: self .topLayoutGuide.topAnchor ].active = YES ;
40- [self .imageView.heightAnchor constraintEqualToAnchor: self .view.heightAnchor ].active = YES ;
39+ [self .imageView.topAnchor constraintEqualToAnchor: self .topLayoutGuide.bottomAnchor ].active = YES ;
40+ [self .imageView.bottomAnchor constraintEqualToAnchor: self .bottomLayoutGuide.topAnchor ].active = YES ;
4141
4242 [self .view addSubview: self .videoView];
4343 self.videoView .translatesAutoresizingMaskIntoConstraints = NO ;
4444 [self .videoView.leftAnchor constraintEqualToAnchor: self .view.leftAnchor].active = YES ;
4545 [self .videoView.widthAnchor constraintEqualToAnchor: self .view.widthAnchor].active = YES ;
46- [self .videoView.topAnchor constraintEqualToAnchor: self .topLayoutGuide.topAnchor ].active = YES ;
47- [self .videoView.heightAnchor constraintEqualToAnchor: self .view.heightAnchor ].active = YES ;
46+ [self .videoView.topAnchor constraintEqualToAnchor: self .topLayoutGuide.bottomAnchor ].active = YES ;
47+ [self .videoView.bottomAnchor constraintEqualToAnchor: self .bottomLayoutGuide.topAnchor ].active = YES ;
4848 self.videoView .delegate = self;
4949
5050 [self .view addSubview: self .activityIndicatorView];
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ - (void)prepareForReuse
6767- (void )layoutSubviews {
6868 [super layoutSubviews ];
6969 self.gradientView .layer .sublayers .firstObject .frame = self.gradientView .bounds ;
70+ self.selectionFrame .frame = self.backgroundView .frame ;
7071}
7172
7273- (void )commonInit
You can’t perform that action at this time.
0 commit comments