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
0
votes
1 answer

How to pass data from container view controller to other controllers by segue?

I want to update the label in rightmost controller by entering text from my container view controller (and click button to submit the text) but the label does not get updated. I am not sure which part of my code is wrong. And, are there any good…
buzzmind
  • 109
  • 2
  • 10
0
votes
1 answer

My button isn't spreading across my container

I am trying to set my button style that way, it will be spread across my View. Currently its creating white border on the left and on the bottom of my button (see attached screenshot). My code: let {width, height} = Dimensions.get('window'); …
Ilona Semyonov
  • 73
  • 1
  • 10
0
votes
1 answer

Adjust the size of a container view's View Controller programatically in iOS

I've set up a container view for some Container View controller programatically like this var containerView : UIView! var controller : UIViewController! override func viewDidLoad() { super.viewDidLoad() containerView = UIView() …
209135
  • 517
  • 5
  • 15
0
votes
0 answers

How to remove Container View's Border (Xcode Interface Builder)?

I've noticed that the Container View in Xcode's Interface Builder has a shadow and I didn't found any possibility to remove this thin border from the view. I'm developing for macOS using Xcode 8.3. How to remove this border?
Guy
  • 91
  • 7
0
votes
1 answer

How to gain access to container view from another container view?

In my code I currently have a container view that embeds a storyboard reference. This storyboard that I'm referencing contains a view controller which contains two container views inside of it. In my view controller with the container view, I gain…
Faisal Syed
  • 921
  • 1
  • 11
  • 25
0
votes
0 answers

Use a method inside ViewController from ContainerView

I have a ViewController, which have a containerView inside. So, I need to use a method in my ViewController from ContainerView. I know how to use method in ContainerView from ViewController, but don't exactly know how to do the same conversely. Big…
Egor Kuznetsov
  • 95
  • 1
  • 1
  • 7
0
votes
1 answer

Swift - How to access navigation item (Edit) from view controller that has a container view embedded inside of it?

the question may seem a little confusing so I'll simplify. I have created a view controller (JournalViewController) that holds 2 container views (MealPlanViewController, ExerciseViewController - you can ignore this container). The…
user3171597
  • 447
  • 1
  • 6
  • 17
0
votes
1 answer

iOS/Swift: one Container View to hold 3 possible View Controllers

In an area of the app, I would like to show one of 3 possible View Controllers. I am assuming I can do that by adding a Container View is such area (as shown below) The questions are: 1) How do I wire the 3 children View Controllers to this…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
0
votes
1 answer

Saving data from two containerviews

First of all i wanne apologize for the code that will be used. I'am completely new to programming in general and it probably looks like .... :) My problem is the following; I have 1 ViewController (VC1) with 2 embedded container views (both…
DavyG
  • 21
  • 2
0
votes
1 answer

Static ContainerView

I have 2 UIViewControllers which contain Tables: A and B. Tapping a row in the table in A segues to B. At the bottom of each view of A and B, I have a ContainerView which points to the same UIViewController say Z. I use Z to show banner-ads. The…
rgamber
  • 5,749
  • 10
  • 55
  • 99
0
votes
0 answers

Ember: Advanced D&D Interface Concept - how to add components or childviews based on dropped item

I'm currently developing an Ember App for combining magnetic ornaments ( pls. see screenshot link ). http://s7.postimg.org/9k2nq75yj/question_edit.png On the left the user selects a category and then has the ability to chose main parts ( the long…
0
votes
1 answer

Custom navigation and container views

What I want A completely custom navigation bar, which will persist and allow user interaction through custom modal transitions. What I've done I've built a parent view controller that contains a Container View on the bottom and a view (the custom…
KerrM
  • 5,139
  • 3
  • 35
  • 60
0
votes
1 answer

container view not showing whole child ViewController

I have a view controller, DogViewController, that is supposed to appear inside a Container View. No matter what I do with the auto-layout, the Container View refuses to show the whole DogViewController. The problem does not seem to be the…
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199
0
votes
1 answer

iOS - Make child UIVewController background (of ContainerView) transparent

I have created a ContainerView in my parentViewController and populated with childViewController. I want the child childViewController background to be transparent. I have made it's view to be transparent, but it didn't help. What can I do?
Luda
  • 7,282
  • 12
  • 79
  • 139
0
votes
1 answer

Why doesn't autolayout work with container view

I am currently using container view in my application but i am having a strange issue regarding the autoresizing of the view. Here are the snapshots of the demo application I am building. The below image shows what I am doing for the normal view…