修复bug

This commit is contained in:
liyuhua
2023-10-24 19:01:30 +08:00
parent d0f6157bc8
commit be77a3a048
28 changed files with 309 additions and 90 deletions

View File

@@ -201,8 +201,9 @@
[UIView animateWithDuration:0.5 animations:^{
self.view.frame = CGRectMake(0, KScreenHeight, KScreenWidth, KScreenHeight);
}completion:^(BOOL finished) {
[self.view removeFromSuperview];
[self removeFromParentViewController];
[self willMoveToParentViewController:nil]; //1
[self.view removeFromSuperview]; //2
[self removeFromParentViewController]; //3
}];
return;
}