ddesai
ddesai

Reputation: 519

Xcode Simulator with Master-Detail View

I created a new Project as Master-Detail view application. When I run the project with IPad simulator I can only see Master View where as I was expecting to see both Master as well as Detail view together. Please let me know if there is a setting with I am missing. I was expecting this behavior for Iphone as due to small screen size.

Thanks,

Dev

Upvotes: 1

Views: 119

Answers (1)

matt
matt

Reputation: 534893

When I run the project with IPad simulator I can only see Master View where as I was expecting to see both Master as well as Detail view together

One possibility: When you created the project, you neglected the pop-up menu where you set your project as iPhone, iPad, or Universal. Therefore you accidentally created an iPhone app — an iPhone only app.

Thus, even on an iPad, you are running inside the iPhone emulator and seeing, enlarged, what you would see on an iPhone.

Solution: start over, and this time, pay attention to that pop-up menu.


Another possibility: You are holding the iPad in portrait orientation. Seeing only the Detail view is correct behavior in this orientation. The default project template provides a button at top left that summons the Master view in a sort of popover, or you can swipe from the left, or you can rotate the iPad to landscape, in order to see the Master view side by side with the Detail view.

Upvotes: 1

Related Questions