I
I
islam-4042022-02-04 18:10:53
Swift
islam-404, 2022-02-04 18:10:53

Why is the protocol not working?

When you click on the menu button "print('00')" works, but the protocol is not
61fd3f18383dd912110433.png
called and it is in "MainViewController.swift"
61fd409422285986480638.png
and this is another file "ContainerViewController" where the
project is declared, there is my AlicV6 and the second from which I take an example plus a link to the video from which I watch here

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lorem Ipsum, 2022-02-04
@GeorgeGeorge

61fd6006577ec431794659.png
You have delegate == nil. Therefore, only print is displayed

V
Vladislav Resly, 2022-02-05
@Resly34

Because you didn't assign the right class as a delegate.
Write something like menuViewController.delegate = selfthis in a class that will be a delegate that will take actions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question