How to suppress split views in an iOS 8 master detail app - view

Using iOS 8 and Xcode 6, I have created an universal Master/Detail app using the template.
When run on an iPad, it tries to display both master and detail views side by side. In this app having them both on the screen is a big nuisance. How do I get the iPad to open to the master view and segue to the detail view just as if it was an iPhone?
Further motivation for this: there is a collection view in the detail view and it misbehaves when the split view controller tries to load it.
Any insights you offer are much appreciated.

Related

iOS 8 UISplitViewController is not working

I am launching my app to iOS 8 device trough test flight and everything works great except UISplitViewController. (I am running with XCODE 5.1.1)
It works fine in Landscape mode but having issue in protraitmode. Please see the below screenshots.
As of now I don't want to update my code base to Xcode 6 beta 6 because it has some strange issue for xibs and other areas as well.
Make sure you follow the following order:
1) Add child view controller
2) Add split view controller view as a subview of the container view
3) Set view controllers of the split view controller
If you reverse numbers 2 and 3, then this issue will appear in the scenario that your split view controller is not the root view controller of the app.

Use present as popover in a universal storyboard

Apple recommends to use a single storyboard for universal apps through size classes.
Now I am trying to adapt the UI depending on the device, which has worked quiet well so far. The only problem I'm facing is how to assign the specific segues.
For instance the settings, which in my App consist of only two tableview cells, should be made visible via a "present as a popover" on the iPad and a regular "show (e.g. Push)" segue on the iPhone.
Is there any way to define it just like that using storyboards or do I need to write supporting code?
Nick
In WWDC session Apple engineer used "Present as popover" segue.
This one shows view modally on iPhone and popover on iPad. Though, you'll have to write some code to show Back button on iPhone.
If you need to have popover and push segues, I'd do that in code this way:
Make 2 segues 'Present as popover' and 'Show'
Set up segue identifiers
In code identify whether app running on iPhone or iPad
Launch correct segue

Which Xcode template should I use?

I want to make an application which shows you the schedule for your school.
It should mainly display the current day and allow you to scroll left and right for switching to the day before or the day after the current selected day.
There should also be a settings view.
I'm new to making iOS apps, so which Xcode template should I use?
I think Page-Based Application seems to fit the most, however is this right?
I don't want the page curl transition, just a normal scrolling transition.
I typically start with a Tabbed Application or Master Detail view, but normally just a Tabbed Application and put in a tableview wrapped in a navigation controller. The tabs allow me to structure out different sections of the app and using table views gives you the nice slide in of new views.
Hope that makes sense.

Page curl Transition Between two NSViews

I am developing a catalog sort of app for mac osx. I want to be able to transition between multiple views with a book page curl animation. I would do this with a previous and next button. I know I have to use QuartzCore. I have imported the framework into my project but I am not sure where to go from there. My views can be called view 1 and view 2 for this forum. Thank You!

Xcode 4: Iphone - Adding a table view to an existing project

I'm new to programming IOS and I'm creating a small App for our College. This app consists of a main view that has a couple of buttons to open different things (Map, Welcome message from the Dean, Intro video, etc...). One of these buttons will open a table view that will show our 5 campuses. When they select a campus it will open a UIWebView that shows the information about that campus.
My problem is that I was able to add a nib to my project and place a tableview object in that nib. It displays, but I,m not able to get the navigation bar or navigation button to show.
Would you have any site or suggestions?
Thanks
Ren
You should try using an Navigation Controller. When you connect the other views to it, it will automatically add the bar and the button.
Good luck!

Resources