UIViewController+BDPresentingAnimation.h
1.56 KB
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
36
37
38
39
40
41
42
//
// UIViewController+BDPresentingAnimation.h
// controllerManagerPresent
//
// Created by Zhang,Jian(MBD) on 2021/5/7.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIViewController (BDPresentingAnimation)
- (void)bdpresent_saveControllerImage;
- (void)bdpresent_presentViewController:(UIViewController *)controller
bgController:(nullable Class)bgControllerClass
animated:(BOOL)flag
completion:(nullable void (^)(void))completion;
- (void)bdpresent_dismissViewControllerAnimated:(BOOL)flag
bgController:(nullable Class)bgControllerClass
completion:(nullable void (^)(void))completion;
- (void)bdpresent_dismissToViewController:(nullable Class)desControllerClass
animated:(BOOL)flag
bgController:(nullable Class)bgControllerClass
completion:(nullable void (^)(void))completion;
- (void)bdpresent_popAndPush:(nullable Class)popToControllerClass
pushController:(UIViewController *)controller
animated:(BOOL)flag
bgController:(nullable Class)bgControllerClass
completion:(nullable void (^)(void))completion;
- (void)bdpresent_popToLastAndPushController:(UIViewController *)controller
animated:(BOOL)flag
completion:(nullable void (^)(void))completion;
@end
NS_ASSUME_NONNULL_END