How to link one Viewcontroller to another
I have a ViewController
and inside that Viewcontroller
, I have to call another ViewController
.I am unable to make my other viewcontroller
work .The issue is that the inside ViewController
is a image field and the outside ViewCont开发者_开发知识库roller
has some buttons.when a user clicks on any button,the functions will run on inside ViewController
and the data will be outputted from outside ViewController
.But I am getting errors in my code. Can anyone help?
According to my opinion,
Please change your code and take one UIView inside the ViewController and set its IBOutlet and add this view to your ViewController....
And Take all button and anyother Controls inside your ViewController and see what happens...
On button tap event, make your code working for UIView changes..
Hope It will works...
精彩评论