1

I'm creating a launch screen by storyboard for a swiftui app. When I rotate the iPhone 14 to landscape, the safe area has insets on vertical, without any inset on horizontal(shown as the image below). IMO, the safe area should have inset on leading, trailing and bottom edge in this case. Do I miss anything?

enter image description here

6
  • 1
    Appears to be a bug with Xcode 14's Storyboard / Interface Builder Commented Mar 26, 2023 at 12:59
  • @DonMag Thank you for reply! I ran the code on an iPhone 14 simulator. The launch screen image overlapped the notch which indicates the issue will happen on a simulator in runtime. I have no real iPhone 14 device for now. I wonder whether the problem will happen or not on a device. Commented Mar 26, 2023 at 16:01
  • 1
    This is either a "bug" with iOS 16+ -- or, it is by design. I haven't found any documentation on it either way, other than similar posts. Also haven't seen any way to get around it. Commented Mar 26, 2023 at 21:05
  • @DonMag Thanks! Hope not having to wait too long. Commented Mar 27, 2023 at 1:50
  • As a side note... I've noticed fewer and fewer apps (at least, the apps I have) that use anything other than a small-ish logo on the LaunchScreen. Most are just blank. In general, we want to get to the first app screen as quickly as possible, so whatever is on the LaunchScreen is somewhat inconsequential. What are you designing on your LaunchScreen that you need to be concerned with the safe area? Commented Mar 27, 2023 at 11:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.