Questions tagged [container-view]

Containers combine views to help present a seamless interface. Container views can be used to simplify transition animations between two image views.

Related links

99 questions
1
vote
0 answers

Collectionview controller as a containercontroller?

Is it possible to create a collection view controller that acts as a container viewcontroller, meaning each cell is acting as a container view for a viewcontroller? Is there anything i should consider that scenario?
tiguero
  • 11,477
  • 5
  • 43
  • 61
1
vote
0 answers

iOS containter view with storyboard contraints not working

I've got an iPhone app that uses Storyboards and I've implemented a View Controller in witch I have a UISegmentedControl with 2 components and a Container View. When I tap one of the 2 components of the segmented control, the container view changes…
1
vote
1 answer

iOS: ContainerView -- Externally calling prepareForSegue in childController

In the following setup, Button 1 calls First VC and Button 2 calls Second VC Currently, I use the following code to call SecondVC by tapping Button 2. MainVC.m @implementation MainVC() .... UINavigationController *navController =…
user1107173
  • 10,334
  • 16
  • 72
  • 117
1
vote
1 answer

ios6 multi-pane iPad interface with container views

I'm trying to implement (what I thought would be) a straightforward, full-screen, four-pane iPad app interface by using container views. I have a simple root UIViewController containing a single view, in which are four container views, each with an…
1
vote
1 answer

How to load xib into two Container Views within one view controller

I want to create a single person lap timer xib/class and load it twice onto a single View Controller on my Story Board. Each of the two instances will be used to time and compare two persons lap times on a single ViewController. I have laid out two…
masteroleary
  • 1,014
  • 2
  • 16
  • 33
1
vote
1 answer

Using a UIPageViewController with an embed segue

I'm working on a client project that uses UIPageViewControllers. The app has a hierarchy of "collection" view controllers that the user navigates through to get to (in this case) a page view controller that contains pages of content. My design is to…
Duncan C
  • 128,072
  • 22
  • 173
  • 272
1
vote
0 answers

App crashes when pressing the switch button to switch the containers view

I have a button in my app that switches container views, from a tableview to a Google map view. The switch works around 4 times, then when I try to switch container views again, the app crashes and I get the following error: (71189,0xac12f2c0)…
Spenciefy
  • 892
  • 11
  • 33
1
vote
4 answers

Accessing another View Controller's IBOutlets Housed in a Container View

I have a Container View that holds 1 of 3 view controllers swapped out by 3 tabs (across the bottom). Here's my Storyboard: I'm taking this approach so that I can have custom tabs and a single Save button for all the fields in this big form. How…
Clifton Labrum
  • 13,053
  • 9
  • 65
  • 128
1
vote
1 answer

How to animate container view x & y position in xcode?

I want to be able to animate a container view from left to right. I'm planning on using a container as a menu that slides in from the left side of the screen when called. Is there a good example for this? I found this UIView example, would this…
SReca
  • 643
  • 3
  • 13
  • 37
0
votes
1 answer

how to hide bottomnavigation and app bar on scroll when app bar inside FragmentContainerView

I know we can hide bottomnavigation and app bar on scroll when both are the direct children of coordinate layout, But my issue is different, I have one home fragment and bottom view is a part of this fragment with FragmentContainerView, now my app…
0
votes
0 answers

Cocoa, Swift 4 - How to non-programatically embed custom NSViewController when its storyboard is a different file than the app's Main.Storyboard?

I'm working on updating a MacOS program in Swift 4/Xcode 12. I have a custom view controller "HelloWorldViewController" which previously I was displaying in a window by itself. HelloWorldViewController uses the storyboard…
Jc Nolan
  • 450
  • 4
  • 15
0
votes
1 answer

How to detect focused UITextField in Container view from Parent View Controller

I have a container view with multiple text boxes on it. I also have a button in Parent View controller(custom keypad). What I'm trying to do is select text box first & when I tap on the button I wanted some value to be populated to that last…
xyzabc
  • 451
  • 1
  • 6
  • 13
0
votes
1 answer

Delegate is nil when using container views

I have 2 Container Views which have a UITableViewController(sideMenuVC) and a UICollectionViewController(centerVC) embedded inside respectively and my CollectionVC is inside a navigation controller itself. I have put these two Container Views inside…
HemOdd
  • 697
  • 1
  • 7
  • 23
0
votes
1 answer

How to pass data between view controller and Container view using callbacks in iOS Swift?

I have a container view in my viewController.swift file. Now i want to pass data between Container view class and viewController.swift class. All demos are available using delegate function. But i want to perform this using callbacks. How i can…
0
votes
0 answers

Child View not scrolled inside the ContainerView - Objective C

Container View is fixed with Bottom half of the screen, On Button click current container view will replace with the new View Controller. Each sub view have a different size in height. Sub view Scroll is not working. I checked with many answers but…