Buttons on Second View not working

Good Day,

I'm working on an app right now, doing everything programmatically. And now I have a little problem with the buttons.

I start the app and click on a button, the touchUpInside works wonderfully.

But if I am now on the second view and then click on a button, the event does not work. It simply does not fire.

Of course I googled and I am almost sure that it has something to do with the view controllers or how they are called. I have tested several things, but it just won't work.

Here are some code snippets. In the Second View Controller I have exactly the same code and nothing happen.

Terms of Service

Privacy Policy

Cookie Policy