Questions tagged [childviewcontroller]

childViewController is Apple's iOS Custom Container View Controller management style. Specifically the -addChildViewController: method facilitates Apple's iOS in order to combine multiple view controllers in a custom hierarchy (similar in concept to the UISplitViewController class)

242 questions
0
votes
1 answer

Full screen ContainerViewController

I wish to add a childViewController that will be presented full screen. Is that possible without hiding the navigation bar ? Thanks
shannoga
  • 19,649
  • 20
  • 104
  • 169
0
votes
1 answer

Is it possible to make a childViewController's view full screen above tabBarController's view?

[self addChildViewController:self.redVC]; [self.view addSubview:self.redVC.view]; [self.redVC didMoveToParentViewController:self]; "self" is a tabBarController, "redVC" is a test VC. I want full life cycle(such as viewDidAppear and rotation chain)…
0
votes
1 answer

Why does childViewController's view frame gets changed randomly by system after updateViewConstraints

I created a custom container viewController by using the parent-child model. In the parent I create the child as follows: // Show Friends view of childs' controller AddFriendViewController self.friendVC = [[AddFriendViewController alloc]…
malena
  • 798
  • 11
  • 26
0
votes
1 answer

When make pop to NavigationController, Parent view controller hide

The settings that I have is: UINavigationController -> RootParentViewController Then ParentViewController have a UIContainerView. There I load dynamically content (Other's UIViewController Child). When I make a transition…
0
votes
1 answer

Presenting a childViewController of a viewController by "presentViewController" causes error?

There is a viewController here. In its addChildViewController function, I add a tableViewController as its child. Now, what we can see is the viewController's, but I want to show the tableViewController's tableView. I achieve this…
Min Wang
  • 305
  • 4
  • 16
0
votes
1 answer

UITableView scrolling lag after add childViewController

First I have 3 ViewController. One as MainViewController. One as center view controller. One as left menu view controller. When I open application the center view show on front (not load left menu yet). The scrolling of tableview work…
0
votes
1 answer

PopUpViewController won't pop up more then once. SWIFT

I have PopUpViewControllerSwift which I want to pop up time after time until the an alreadyMatched index reaches zero. This is how I am performing the pop up, code: var alreadyMatched = [0,1,2] class QuestionsGame: UIViewController { …
0
votes
1 answer

iOS 7 - Blurred view with child GLKViewController (FXBlurView)

I'm using the popular FXBlurView library to add an overlay blurred view to my app. The main view controller contains a child view controller which is a GLKViewController with OpenGL content. Adding a blurred view to the parent vc doesn't take into…
DAN
  • 919
  • 1
  • 6
  • 23
0
votes
1 answer

Switch Between 2 UIViewControllers in a NavigationBar Underneath

I have built a UIViewController to contain two other UIViewControllers. What I would like to do using a UISegment in the UINavigationBar is to switch between both views. When the user is finished they click on "Done" and it goes back to the…
0
votes
1 answer

Frame incorrect in parentVC and childVC after popping back to parentVC

I'm having problem were my views frames are completely wrong after return to the viewController by popping the current one. My view hierarchy is as follows: UITabbarController, UINavigationController HomeSwipeViewController (need as I…
BooRanger
  • 1,516
  • 1
  • 14
  • 18
0
votes
0 answers

Setting UIScrollView frame to view size in IB

I'm trying to duplicate the functionality from this gitHub repo. It is the solution to a question somebody else asked here. When I download the project from gitHub, I can run it without problems on any size iPhone in the simulator, even though in…
Erik
  • 2,299
  • 4
  • 18
  • 23
0
votes
0 answers

Adding childContainerView disables UITableView

I have a chat that's setup as a UIViewController with a tableView added to it's view. This was working fine. I've since subclassed this viewController and added a childViewController as a header of the table: - (void) createClassVideoView { …
OdieO
  • 6,836
  • 7
  • 56
  • 88
0
votes
1 answer

How to change UIImageView as background image on parentViewController using swift

I would like to change my UIImageView I used as a background image on my parentViewController after my childView is loaded in my viewDidLoad, I have this line, that pretty works : self.parentViewController?.view.addSubview(myBackgroundImage) I wish…
Salif
  • 992
  • 1
  • 8
  • 14
0
votes
1 answer

Tapping on cell in childviewcontroller accessing tableview delegate of parent's parent view controller in a nested environment

I am in a weird scenario. I have created a nestedViewController in which clicking on a row in tableview launches a another nestedviewcontroller just below the header of the parent nestedview's section header by adjusting frames. Now, To add a…
tech savvy
  • 1,417
  • 4
  • 21
  • 42
0
votes
2 answers

Add Navigation Bar on ChildViewController

I want a new View Controller as a pop-up (which have some Parents View Controller scene ). So i am decided to add childViewController (which have 50px transparent border from all side.) Now when i adding childViewController i didn't get…
Gaurav Pandey
  • 1,953
  • 3
  • 23
  • 37