Skip to content

Commit

Permalink
iOS 17 support
Browse files Browse the repository at this point in the history
  • Loading branch information
MoZhouqi committed Oct 2, 2023
1 parent ccb7eed commit 2169f89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ - (void)km_resizeTransitionNavigationBarFrame {
return;
}
UIView *backgroundView = [self.navigationController.navigationBar valueForKey:@"_backgroundView"];
CGRect rect = [backgroundView.superview convertRect:backgroundView.frame toView:self.view];
CGRect rect = [self.navigationController.navigationBar convertRect:backgroundView.frame toView:self.view];
self.km_transitionNavigationBar.frame = rect;
}

Expand Down

0 comments on commit 2169f89

Please sign in to comment.