parentViewController, in terms of hierarchy, is the immediate view controller above the current view controller. When used in conjunction with childViewController, related methods of both facilitates Apple's iOS in order to combine multiple view controllers in a custom hierarchy (similar in concept to the UISplitViewController class)
Questions tagged [parentviewcontroller]
81 questions
2
votes
3 answers
UIViewController parentViewController access properties
I know this question has been asked several times and I did read existing posts on this topic but I still need help.
I have 2 UIViewControllers - parent and child. I display the child UIViewController using the presentModalViewController as…

Dave
- 4,038
- 9
- 45
- 57
2
votes
2 answers
Container View Controller cannot handle Unwind Segue Action
I am facing a problem while trying to unwind using a custom segue from a view controller that was added as a child to another view controller.
Here is MyCustomSegue.m:
- (void)perform
{
if (_isPresenting)
{
//Present
FirstVC…

user-123
- 874
- 1
- 13
- 34
2
votes
1 answer
iOS Accessing Property in parentViewController
My app is crashing when trying to access a method in my parentViewController. Here is the layout in StoryBoard
MainViewController = STLMMainViewController (ParentViewController)
Scene1 = STLMTimeDateViewController (ChildViewController)
Here is the…

user1107173
- 10,334
- 16
- 72
- 117
2
votes
1 answer
Problems with UINavigationController nested within moreViewController
I have UITabbarMoreController which contains a few UINavigationControllers. These UINavigationControllers then contain my custom view controllers.
So the hierarchy looks something like this:
UITabbarController
- UINavigationController
-> my…

Lukas1
- 582
- 1
- 5
- 28
2
votes
1 answer
FPPopover UITableView return value
i don't know if anyone is using this open source library for replacing UIPopovercontroller for an iPhone.
i'm trying to deploy the FPPopover into my project, everything is working like i want, but the problem is that i'm not able to return any value…

Thomas_LEB
- 239
- 5
- 12
1
vote
1 answer
Error calling method on parent viewcontroller from modal window
What I have going on here is a page that shows a list of search results. When you click on the search button it opens a modal window where you can change your search criteria. When you click done it calls the updateSearch method on the modal…

Jhorra
- 6,233
- 21
- 69
- 123
1
vote
1 answer
UIAlertController not anchored on childViewController but rather displaying behind it on parentViewController
I have created a left menu drawer and added it as a child view controller. In the left menu drawer I have a logout button that should display a UIAlertController. The challenge I am experiencing is that the UIAlertController is displaying behind the…

RonoKim
- 184
- 1
- 16
1
vote
1 answer
Child View frame change when pushed again from parent view controller
I have added a viewcontroller's view as a child view in an another viewcontroller. The child view controller has a tableview. Child view controller can be pushed more than once while click on didSelectRow to show updated data in same viewcontroller…

Aman Pratap
- 25
- 6
1
vote
3 answers
Cannot resolve view of the parent controller
Create a controller:
public abstract class MyBaseController : Controller
{
public ActionResult MyAction(string id)
{
return View();
}
}
Than create another specific controller that inherit from MyBaseController:
public class…

Egor4eg
- 2,678
- 1
- 22
- 41
1
vote
2 answers
Calling a method back on the parent controller without a warning message
I have a front-view and a flip-view much like the utility weather-app.
To avoid dealing with the complexities of protocols... on my flipView I need to call some code that resides back on my front-view. This works... but generates a warning during…

Patricia
- 309
- 3
- 11
1
vote
2 answers
How to get the parentViewController in childViewController?
I have a main UIViewController and named AddInformationController. In this mainViewController I have two UIContainerView. Each of them embed with a UITableViewController. The table view controllers are named InformationSegmentController and…

Johnny Cheuk
- 237
- 2
- 15
1
vote
0 answers
Passing data and delegation
I have got a question about delegation. I am fairly new to programming and I have just managed my first exercise-project in which I use delegation. All it is, is a Parent View Controller that calls a Child View Controller which has a text field and…

Paul
- 1,277
- 5
- 28
- 56
1
vote
1 answer
Understanding delegation
I am trying to understand delegation. I have written a small project to try to tackle this. I have also had help from S.O. I am stuck on the very last part of it. My project is simple. We have a main view controller that has a button "start". This…

Paul
- 1,277
- 5
- 28
- 56
1
vote
2 answers
Remove Childview controller from parent viewController in ios
I have a Parent viewController named "CenterViewConroller" and Child viewController named "InventoryViewController". I have a UIButton in CenterViewController, when i click the Button childView should appear at given dimension and when i again click…

Rupinder
- 156
- 1
- 12
1
vote
1 answer
How to show animation to a child view as it is appears in a UIViewController
I Have one View COntroller. on which i have a segment control.
and a containerView.
in that container view i am showing tableviewcontroller. as a child view.
I have a segment control. And 2 UITableViewControllers.Which are child views to the view…

saurabh_s
- 150
- 1
- 2
- 15