I have a splitView in which the detailView is TableView and on click of any row another splitView should appear.
I don't know how to reuse the rootViewCOntroller and detailViewController classes which we get by default when we make a SplitViewBased application.
Please help!!!!
Related
I want to create a custom UISplitViewController for iPad. It is similar to the Facebook iPad version where there is a viewcontroller and a side table view controller, where the table view is the chat group in facebook NOT the Favorites/Group hidden section.
I want to replicate this:
2x version here: http://i.imgur.com/0WI5yWo.png
I would have a UINavigationViewController that has a navigtionItem left side button, a Title, and a right side searchbar. In it's left viewController it will have a viewcontroller that has a mapview and a tableview underneath it. The right viewcontroller will be a tableViewController. There is also a UISegmentedControl above both these viewcontrollers. Anyone have any ideas on how to go about this? Any help is appreciated. Thanks!
Things I have done:
I have tried using the stock UISplitViewController but I cannot seem to add a UINavigationController to it nor customize it how I want to.
I think my best option is to have a UIViewController that has 2 ContainerViews. The only problem I can see would be that UISegmentedController as well as how I will have 2 tableviews in one file.
I have a app having two tabs. Also using a splitviewcontroller. I want to link the tab bar (tab1) controller with the splitviewcontroller so that when tab1 is selected splitviewcontroller should be shown.
I tried attaching modal segue from tab to splitVC. But no luck. is there any way to do this using storyboard?
Please help.
Regards,
Lalit
Both UISplitViewController and UITabbarController have arrays of viewControllers they display. So it's impossible to have them both on screen. But I think you can use UISegmentedControl instead of tabbar in one of yours views.
I'm trying to set up a basic "Newsfeed" function for an iOS app, with headlines in a TableViewController segueing into a simple ViewController to display the text of the selected story. I'm using Storyboards to set up the segues, and I can't get it to work...
What I've Done - I started by CTRL+Dragging from the Cell of the TableView onto the secondary ViewController and choosing "Selection Segue - Push." Then I clicked on the segue and gave it the identifier "newsArticleSegue," and I embedded the TableView in a Navigation Controller. I've got the TableView data source hooked up to a plist file as well, although I don't think that would have any effect on the segue, right?
All that happens when I run the app and click on a row of the TableView is that it gets highlighted blue. Clearly the segue isn't working, but the tutorials I've found only list those steps, as though that's all that's needed...
Can anyone tell me what I am missing? And thank you in advance!
When you create the segue with IB, you can drag from the view controller (which you did) or from the table view cell, which will call the segue if the table view cell is selected.
I am super new to the iPad applications. I have a created a simple iPad app. MasterViewController with TableView embedded inside the UINavigationController. User taps one of the entries inside tableview that segues him to the WebViewController.
But after i implemented SplitViewController in Storyboard by telling it the Master and Detail View, the navigation bar on top of the detail view is disappeared. I have also implemented the SplitViewController that displays the master view controller on the left side in both portrait and landscape orientation but later removed it.
What I want is to show the masterview with tableview inside as it is with no splitviewcontroller, when user taps on one of the tableview entry, it segues to WebViewController (This is already happening till this point) but when the user reaches WebViewController, if he is in Landscape orientation, the tableview comes as a splitviewcontroller on the left side, if the user is in portrait mode, there should be a button on the navigation bar to show a popovercontroller having the same tableview entries and he can select any other entry without going back.
Can anyone help me how to implement this in Storyboards or guide me if i am doing the whole thing wrong. Thanks in advance.
Please tell me how i can do this. I am making an iPad app.I have a list in tableview of RootViewController , clicking on each of which displays a table having information in DetailViewController. By default there is a tab bar at the top of the DetailViewController but i want to add navigation controller over there.
Just push a new controller in your current navigation controller! No need for a new one.