I'm new in Swift and I would like to how to do this.
When I touch rightBarButtonItem
button I would like the following to appear:
The Test and Test2 text should display in the same view controller.
If I don't touch rightBarButtonItem
the Test and Test2 should not display. (Test and Test2 isHidden
will be true
.)
Is this possible or do I need another way?
I have been searching for a long time on the internet. But I have not been able to find anything. Please help or try to give some ideas of how to achieve this.