Set Tag

A developer can set the same/multiple tags to multiple views for dynamic view hiding functionality as below:

yourView.tag = "YOUR TAG VALUE";

Alternatively you can set tags in StoryBoard as well.