Answer the question
In order to leave comments, you need to log in
How to properly layout an iPad app in Xcode?
Gentlemen, I made an iPhone application using UITabBar
. The principles of navigation, and indeed the application itself, for example, are similar to VK (that is, it is a social network with various tabs: news, notifications, messages, etc.). On the iPhone, everything is fine, I'm almost finished. I came up with the idea to make this application also for the iPad. I didn’t bother with versatility and adaptives ViewController
and went to create a new project for the iPad.
After thinking a little about the implementation of the design, I settled onUISplitViewContoller
(ala VK for iPad). But it was not there. As soon as I created several Detail Views for different scenes, I realized that I was doing something wrong. Auto layout was very buggy, although I literally did everything right and double-checked everything and re-added it in the code. Then troubles began with switching scenes, navigation, buttons, etc. After reading the documentation and rummaging through the wilds of the network, I realized that it UISplitViewContoller
was not intended for this at all. It is intended for more static and simple applications, ala Contacts, Notes, etc. (i.e. the Detail View remains as static as possible). And all I wanted to do was something like VK for iPad.
Friends! Actually the question is: how to make this idea more correct and less hemorrhoid? Use regularUIViewController
with fake navigation on the left is not an option - the title and animations cover the entire width. Making a UITabBar at the bottom is also not an option - there are a lot of items, and in general, why should the content take up the entire width, the navigation should be on the left.
Which model should be used in this case?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question