开发者

How to link one Viewcontroller to another

开发者 https://www.devze.com 2023-03-11 22:06 出处:网络
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 f

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消