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)
Questions tagged [childviewcontroller]
242 questions
0
votes
1 answer
UITabBarController child view controller reset -Swift2 iOS
I have a tabBarController with 2 tabs: tabZero and tabOne.
tabZero contains a navController and 2 child view controllers. viewControllerRed is the nav's root which has a button that pushes on viewControllerBlue.
viewControllerBlue has a button:…

Lance Samaria
- 17,576
- 18
- 108
- 256
0
votes
1 answer
How can I send selectedSegmentIndex to containerView in Objective-c?
I have a containerView into my viewController. My viewController has a UISegmentedControl.
How can I send this selectedSegmentIndex selected at this moment and everytime when I change this?
I', trying with a property in the next class with…

user3745888
- 6,143
- 15
- 48
- 97
0
votes
1 answer
Can not add a ChildViewController in Current Controller
I took 2 UIViewController HomeView and ViewMyStuff in Storyboard.
I am adding ViewMyStuff Controller in HomeView. In HomeView's ViewDidLoad, written below in my code.
- (void)viewDidLoad
{
ViewMyStuff *vwMyStuff = [self.storyboard …
user1624741
0
votes
0 answers
ios ViewController lifecycle messed in use of ChildViewController
if i have two viewControllers: oldVC and newVC, when i perform 'oldVC.navigationcontroller pushviewcontroller: newVC'
the iOS lifecycle in viewController transition system is:
newVC ViewWillAppear
oldVC ViewWillDisAppear
newVC ViewDidAppear
oldVC…

leo_luck
- 151
- 2
- 8
0
votes
2 answers
UITableView inside childviewcontroller not receiving all taps
I've got a UITableview that displays the search results of a UISearchController. They are inside of a Childviewcontroller.
I write the text on the textfield of the parentviewcontroller and it passes the text to the searchbar of the child view…

jonypz
- 1,515
- 1
- 20
- 35
0
votes
0 answers
Container Views
I am trying to get my head around child view controllers.
I make a simple project with a main view controller.
Step 1: In that view controller I put a UIButton that is supposed to make a child view appear.
Step 2: I add a container view and put…

Paul
- 1,277
- 5
- 28
- 56
0
votes
1 answer
Container Views and presenting child view controllers
A question about container views in xCode with objective-C. When I add a container view to my project it is visible by default in it's parent view controller. My goal is for it to be invisible to start with and to present it via a UIButton with the…

Paul
- 1,277
- 5
- 28
- 56
0
votes
1 answer
How to display parent view table view above suddenly upon child view?
This is my window hierarchy
->Root view Controller
->tableview
-> child view controller 1
->child view controller 2
Image specification :
first image **Rootview** controller ,second image is child view controller…

Kishore Kumar
- 4,265
- 3
- 26
- 47
0
votes
1 answer
Child View Controller don't appear on device
I'v developed custom UITabbarController with my own tabbar layout. I've got a set of UIViewController, that i instantiate from stroryboard like this :
class func instantiateMainViewControllers () -> Array
{
var…

Nikita Semenov
- 2,111
- 4
- 18
- 31
0
votes
1 answer
Automatically passing events from ChildViewController to parentViewController
I can't figure out how enable iOS to pass events from a childViewController down to its parentviewcontroller.
My childviewcontroller is like an overlay it's root view is transparent and it's opaque views cover a dynamic area - potentially the the…

Jakob
- 1,126
- 3
- 16
- 38
0
votes
1 answer
Delegation and childVIewController
this is a question regarding delegation, trying to pass some data back from a child view controller that is linked to a container view which has a picker view. I asked a related question before and someone was kind enough to reply with the following…

Paul
- 1,277
- 5
- 28
- 56
0
votes
4 answers
How to create a back button in a view controller to go to parent view controller
hi I have a view controller with a container and in the container a child view with a collection view when the user taps the collection view cell it sends me to detail view controller but now what i want to do is to add a back button in my detail…

Mastertron
- 45
- 1
- 6
0
votes
1 answer
swapFromViewController with animation?
I want to implement a sliding menu, where the user can smoothly slide from the first view controller to the second view controller. This should animate and bounce when the animation is not complete.
My tabs are all childViewControllers of one…

vrwim
- 13,020
- 13
- 63
- 118
0
votes
0 answers
iOS app crashes when tries to add child viewcontroller with mapView inside
I have tabbarController where i put parent viewController with container view inside.
public override func viewDidLoad() {
viewControllers = [
ParentViewController()
]
}
On init i'm initializing 2 child view controllers and adding…

CrimeZone
- 230
- 2
- 13
0
votes
1 answer
How to Push one ChildViewController to Another ChildViewController using Animations
I am beginner in iOS. In my ParentViewController I am adding one ChildViewController. In that controller I have added one Next button. When I click that button I am pushing First ChildViewController to Second ChildViewController. That's fine.
But…

AbhiRam
- 2,033
- 7
- 41
- 94