File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,18 @@ pod 'TYAlertController', '~> 1.0.0'
24
24
### usege demo
25
25
26
26
* show in controller (tow way)
27
+
28
+ ``` objc
29
+ // alertView lifecycle block
30
+ @property (strong, nonatomic) void (^viewWillShowHandler)(UIView *alertView);
31
+ @property (strong, nonatomic) void (^viewDidShowHandler)(UIView *alertView);
32
+ @property (strong, nonatomic) void (^viewWillHideHandler)(UIView *alertView);
33
+ @property (strong, nonatomic) void (^viewDidHideHandler)(UIView *alertView);
34
+
35
+ // dismiss controller completed block
36
+ @property (nonatomic, copy) void (^dismissComplete)(void );
37
+ ```
38
+
27
39
``` objc
28
40
TYAlertView *alertView = [TYAlertView alertViewWithTitle: @"TYAlertView" message:@"This is a message, the alert view containt text and textfiled. "] ;
29
41
You can’t perform that action at this time.
0 commit comments