ios - Accessing a ViewController's subview that's added on the storyboard -
Please refer to the image below for the storyboard view. I have a ViewController called StudioViewController (it is labeled ViewController on the storyboard) and I have a UIScrollView that is called the CanvasViewController (the fact that the viewer sits at the top of the controller is the right thing to view controller). I want to be able to reach the Canvas Week controller in the StudioViewController class, how can I do this? Because I have made this into the storyboard here, I dont 'think of a variable that allows me to use the CanvasViewController ... I should make it in code instead, or is there to use it in that I completely Is there some obvious way to remember?
Thanks
******** UPDATE *********
The question below is answered from rdelmar in the comment:
You can create shared variables in app representatives. It is not very safe, but when I could not use a child or parent due to page transition, I got the result as a result.
Comments
Post a Comment