Skip to content

Commit

Permalink
Account for new status bar behaviour in iOS 17
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOliver committed Apr 6, 2024
1 parent 18495fa commit b3e78d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Objective-C/TOCropViewController/TOCropViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ - (UIStatusBarStyle)preferredStatusBarStyle

// Even though we are a dark theme, leave the status bar
// as black so it's not obvious that it's still visible during the transition
if (@available(iOS 13.0, *)) {
return UIStatusBarStyleDarkContent;
}
return UIStatusBarStyleDefault;
}

Expand Down

0 comments on commit b3e78d1

Please sign in to comment.