Hibit_iOS/Pods/HWPanModal/Sources/Controller/HWPanModalPresentationController.h
2024-06-07 11:41:02 +08:00

33 lines
756 B
Objective-C

//
// HWPanModalPresentationController.h
// HWPanModal
//
// Created by heath wang on 2019/4/26.
//
#import <UIKit/UIKit.h>
#import <HWPanModal/HWPanModalPresentable.h>
@class HWDimmedView;
NS_ASSUME_NONNULL_BEGIN
@interface HWPanModalPresentationController : UIPresentationController
@property (nonatomic, readonly) HWDimmedView *backgroundView;
@property (nonatomic, readonly) PresentationState currentPresentationState;
- (void)setNeedsLayoutUpdate;
- (void)updateUserHitBehavior;
- (void)transitionToState:(PresentationState)state animated:(BOOL)animated;
- (void)setScrollableContentOffset:(CGPoint)offset animated:(BOOL)animated;
- (void)dismissAnimated:(BOOL)animated completion:(void (^)(void))completion;
@end
NS_ASSUME_NONNULL_END