Skip to content

Commit b97b57b

Browse files
committed
complete version 1.0
1 parent 317a89a commit b97b57b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

TYAlertControllerDemo/ViewController.m

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ - (IBAction)showAlertViewAction:(id)sender {
3838
NSLog(@"%@",action.title);
3939
}]];
4040

41-
// [alertView addAction:[TYAlertAction actionWithTitle:@"默认1" style:TYAlertActionStyleDefault handler:^(TYAlertAction *action) {
42-
//
43-
// }]];
44-
45-
//
4641
[alertView addTextFieldWithConfigurationHandler:^(UITextField *textField) {
4742
textField.placeholder = @"请输入账号";
4843
}];
@@ -101,7 +96,7 @@ - (IBAction)dropdwonAnimationAction:(id)sender {
10196
[self presentViewController:alertController animated:YES completion:nil];
10297

10398
// or show,use UIView Category
104-
//[alertView showInController:self preferredStyle:TYAlertControllerStyleAlert transitionAnimation:TYAlertTransitionAnimationDropDown];
99+
//[alertView showInController:self preferredStyle:TYAlertControllerStyleAlert];
105100
}
106101

107102
- (IBAction)costomActonSheetAction:(id)sender {

0 commit comments

Comments
 (0)