Commit ac1f354d authored by 余玠's avatar 余玠

Embeded Flutter ViewController指导实现

parent 74dac2ed
...@@ -51,6 +51,12 @@ ...@@ -51,6 +51,12 @@
// [self.flutterContainer.view setNeedsLayout]; // [self.flutterContainer.view setNeedsLayout];
// [self.flutterContainer.view layoutIfNeeded]; // [self.flutterContainer.view layoutIfNeeded];
} }
- (void)didMoveToParentViewController:(UIViewController *)parent {
[self.flutterContainer didMoveToParentViewController:parent];
[super didMoveToParentViewController:parent];
}
/* /*
#pragma mark - Navigation #pragma mark - Navigation
...@@ -61,4 +67,8 @@ ...@@ -61,4 +67,8 @@
} }
*/ */
- (void)dealloc{
NSLog(@"dealloc native controller%p", self.flutterContainer);
}
@end @end
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