Search code examples
iosswiftuikitstoryboard

SafeArea is going out of bounds in Storyboard


Changing the preview device solves the issue for a while but just after changing any constraints same thing reoccurs. Xcode Version 13.3.1 Image showing the issue: SafeArea going out of bound


Solution

  • I have found the root cause of the issue. Actually the stack view was causing the issue as i had very high value of spacing. Decreasing it to appropriate small value resolved the issue

    Image of root cause