Commit adcb0e5b authored by 余玠's avatar 余玠

fix example typo error

parent 1b152753
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} }
- (IBAction)pushFlutterPage:(id)sender { - (IBAction)pushFlutterPage:(id)sender {
[FlutterBoostPlugin open:@"first" urlParams:@{kPageCallBackId:@"MycallbackId#1"} exts:@{@"animated":@(YES)} reult:^(NSDictionary *result) { [FlutterBoostPlugin open:@"first" urlParams:@{kPageCallBackId:@"MycallbackId#1"} exts:@{@"animated":@(YES)} onPageFinished:^(NSDictionary *result) {
NSLog(@"call me when page finished, and your result is:%@", result); NSLog(@"call me when page finished, and your result is:%@", result);
} completion:^(BOOL f) { } completion:^(BOOL f) {
NSLog(@"page is opened"); NSLog(@"page is opened");
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
} }
- (IBAction)present:(id)sender { - (IBAction)present:(id)sender {
[FlutterBoostPlugin open:@"second" urlParams:@{@"present":@(YES),kPageCallBackId:@"MycallbackId#2"} exts:@{@"animated":@(YES)} reult:^(NSDictionary *result) { [FlutterBoostPlugin open:@"second" urlParams:@{@"present":@(YES),kPageCallBackId:@"MycallbackId#2"} exts:@{@"animated":@(YES)} onPageFinished:^(NSDictionary *result) {
NSLog(@"call me when page finished, and your result is:%@", result); NSLog(@"call me when page finished, and your result is:%@", result);
} completion:^(BOOL f) { } completion:^(BOOL f) {
NSLog(@"page is presented"); NSLog(@"page is presented");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment