remove black bar on iOS fixes #3547
winit::Window::inner_size returns size of safe area on iOS. use winit::Window::outer_size on iOS The dimensions of outer_size include the title bar and borders, but as far as I know there is no way to actually display the title bar or borders on iOS so it should be fine.
- Closes #3547
- [X] I have followed the instructions in the PR template
Preview available at https://egui-pr-preview.github.io/pr/5211-iOS-black-bar Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.
@lucasmerlin I updated my safe area implementation so it is actually usable. it could be merged and the get_safe_area_insets could be replaced while upgrading winit in the future
@emilk is this alright?