HWPanModalPresentationController.h 756 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // HWPanModalPresentationController.h
  3. // HWPanModal
  4. //
  5. // Created by heath wang on 2019/4/26.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import <HWPanModal/HWPanModalPresentable.h>
  9. @class HWDimmedView;
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface HWPanModalPresentationController : UIPresentationController
  12. @property (nonatomic, readonly) HWDimmedView *backgroundView;
  13. @property (nonatomic, readonly) PresentationState currentPresentationState;
  14. - (void)setNeedsLayoutUpdate;
  15. - (void)updateUserHitBehavior;
  16. - (void)transitionToState:(PresentationState)state animated:(BOOL)animated;
  17. - (void)setScrollableContentOffset:(CGPoint)offset animated:(BOOL)animated;
  18. - (void)dismissAnimated:(BOOL)animated completion:(void (^)(void))completion;
  19. @end
  20. NS_ASSUME_NONNULL_END