Question

Im working on my first iPad app. By default Xcode generated for me a starting point project, which contains the basic template for the Split view controller.

I am focusing on the detail view controller right now (my first app version may only utilize this view).

Anyway, I noticed that in the Xcode integrated Interface Builder the detail view is 703 (width) x 768 (height).

First question: why is the width 703?

Now, the view in the IB shows a portrait layout of the view. So it's even more odd that the width is greater than the height (when it should be the other way around).

I actually expected the width to be 768, and the height 1024.

  • updated *

2nd Question: In portrait mode, why is the width 1024 and height 768 (see above closing comments).

Thanks.

Was it helpful?

Solution

The split view's master is 320 px wide according to the documentation, leaving the detail pane a comfortable 768 or 704 px wide depending on the orientation of the device.

ref> ipad split view dimension parts

Please take a look here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top