






#import "FloatAdoptViewController.h"

@interface FloatAdoptViewController ()

@end

@implementation FloatAdoptViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.leaveEntity.opaque = NO;
    self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    
    self.tryWriteOld = self.kinPortrait;
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    UIEdgeInsets nextPhotos = [[StrictBigManager shared] criteriaPushWindow].safeAreaInsets;
    nextPhotos.top    += 10;
    nextPhotos.left   += 10;
    nextPhotos.bottom += 10;
    nextPhotos.right  += 10;

    [self.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
    
    [self.leaveEntity mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_equalTo(0);
    }];
}

@end
