How to prevent SDL window drawing under iPad status bar?

The SDL window created on iPad (any iOS > 6, I think) uses the full screen which means my app’s drawing goes under the status bar at the top of the screen. According to “Beginning with iOS 7 view controllers are displayed full screen, by default”. The same QA item lists 2 ways to avoid drawing under the status bar:

  1. Use an opaque UINavigationController or UITabBarController
  2. Add a vertical space constraint to the top-most view in the storyboard.

1 seems like it would requires changes to SDL. As for 2, how do you programmatically add such a constraint to the view created by SDL? Doing so seems like it would require platform-specific code in my app. Any way to do this in platform independent way?

Perhaps we need to add another window creation flag…