fix
杨锴
2025-06-16 3fa53409f5132333ce6d83fff796e108ddd62090
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
//  FFPage.h
//  FFPage
//
//  Created by North on 2019/8/9.
//  Copyright © 2019 North. All rights reserved.
//
 
#ifndef FFPage_h
#define FFPage_h
 
#import "FFPageViewController.h"
#import "FFAdapterViewController.h"
#import "FFDynamicItem.h"
#import "UIScrollView+FFPage.h"
#import "FFRereshView.h"
 
//开始动画通知
#define FFPageBeginRefreshNotice @"FFPageBeginAnimationNotice"
//结束动画通知
#define FFPageEndRefreshNotice   @"FFPageEndAnimationNotice"
 
//滚动视图偏移量改变通知
#define FFAdapterContentOffsetChangedNotice   @"FFAdapterContentOffsetChangedNotice"
 
//判断是否是全面屏
NS_INLINE BOOL isFullScreen() {
    //全面屏最低的版本就是 iOS11
    if (@available(iOS 11.0, *)) {
        return [[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom > CGFLOAT_MIN;
    }
    return NO;
}
 
#endif /* FFPage_h */