uisplitviewcontroller

UITabbarController in UiSplitViewController

不打扰是莪最后的温柔 提交于 2019-12-23 00:24:13
问题 I am new to ipad development. I am developing an ipad application similar to the following apps: http://itunes.apple.com/us/app/dropbox/id327630330?mt=8 http://itunes.apple.com/in/app/box.net/id290853822?mt=8... In both these apps structure looks like uitabbarcontroller integrated inside uisplitviewcontroller. But i ve heard that uisplitviewcontroller cannot be a rootviewcontroller. Then how these apps designed??? How to do a structure like that??? 回答1: You're right that uisplitviewcontroller

UISplitViewController willHideViewController/willShowViewController not called after forcing detail view to be hidden

喜夏-厌秋 提交于 2019-12-22 18:46:30
问题 I have an iPad App which uses a UISplitViewController as the root controller, I have set up the delegate and I am using a UINavigationController for the DetailView and it seems to work normally. I want the MasterViewContoller to always be hidden (on all rotations) when a particular viewcontroller is displayed in the DetailView Section. I can do this using the shouldHideViewController method on the UISplitViewController Delegate. However if I do, then when I change the ViewController in the

UISplitViewController for iphone

你说的曾经没有我的故事 提交于 2019-12-22 10:10:16
问题 I want to create an iPhone (not iPad) app with a split screen view that shows two view controllers on the same screen, one on the left and one on the right of the screen (landscape only). Is there a way to make UISplitViewController work for iPhone, or is there an open source library i can use to achieve this look? 回答1: As said, you can not use a split view controller. However, I dont think you need it anyway. Its a little cumbersome and restrictive. You can achieve the effect of the split

UISplitViewController: Deinit DetailView in collapsed mode

青春壹個敷衍的年華 提交于 2019-12-22 05:58:49
问题 I've been struggling on this for a while now, but I wasn't able to find a solution: I've got an iOS 9 app that supports all device families, uses size classes and is programmed with Swift 2.0. I'm using a UISplitViewController and everything works as I want, except in a collapsed environment (e.g. on an iPhone). The Master-ViewController is a UITableViewController that triggers a replace segue when a cell is selected. In a collapsed environment this means, that the detailViewcontroller gets

UISplitViewController Cannot Change the Master View Controller?

雨燕双飞 提交于 2019-12-22 05:14:44
问题 I am trying to change the master view controller (that appears in the popover in portrait, and on the left side in landscape) in a UISplitViewController. I'd like to switch between the master view controller being one of two different UIViewControllers (depending on an action taken elsewhere in my application). I am using the following: mySplitViewController.viewControllers = [NSArray arrayWithObjects:newMasterController, detailController, nil]; This correctly changes the master

UISplitViewController not showing popup button when launching portrait

心已入冬 提交于 2019-12-21 06:59:28
问题 I am doing an iPad app based on a UISplitViewController. I have a little problem with the toobar button when my app launched in potrait. The button to show the popover is not displayed. However when I rotate my iPad into landscape and then back to portrait, the button shows ! It looks like the following method is not called on launch (this is were I have the code showing the button): - (void)splitViewController:(UISplitViewController *)svc willHideViewController:(UIViewController *

UISplitViewController with NavigationControllers (including sample code)

前提是你 提交于 2019-12-21 05:47:10
问题 The easiest way to see this problem will be to run the sample project here: http://drop.io/stackproblem Basically, It's a uisplitviewcontroller which can be switched between 2 detail views, both of which are navigation controllers. The problem is that it crashes with the following error: MultipleDetailViews[8531:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Popovers cannot be presented from a view which does not have a window.' It crashes with this

Correctly present conditional login screen at app startup with storyboards and split view controllers?

有些话、适合烂在心里 提交于 2019-12-21 05:21:06
问题 This seems like it should be simple, but it is proving to have a lot of challenging nuances - and I haven't found an answer elsewhere on Stack Overflow that answers this fully, clearly, and simply. In a nutshell - I have an iPad application that uses storyboards to layout the application flow, and a split view controller as the primary root view controller. This application checks at startup if there are login credentials stored, and if they are it jumps straight to the UI, and if not it

Detect when both the master and detail view controller are on screen?

血红的双手。 提交于 2019-12-21 03:43:22
问题 I have implemented a UISplitViewController using a Universal Storyboard in Xcode 6. UISplitViewController is supported on iPhone running iOS 8 now, and by default only one view controller will be on screen at a time. I need to know when both the master and detail view controllers are both on screen (iPad). I need to remove the disclosure indicators from UITableViewCell s in the case both are on screen - only render them when only the master view controller is on screen (iPhone), just like the

Updating DetailViewController from RootController

一曲冷凌霜 提交于 2019-12-21 03:02:14
问题 I'm trying to create an iPad application with a similar user interface to Apple's Mail application, i.e: RootView controller (table view) on the left hand side of the split view for navigation with a multiple view hierarchy. When a table cell is selected a new table view is pushed on the left hand side The new view on the left side can update the detail view. I can accomplish both tasks, but not together. I mean I can make a multi-level table view in the RootController. Or I can make a single