How to show and hide a view on button click

Viewed 19845

I have one uiview , Button .At initial my view will be hidden So when my button click I need to show my uiview and when I click same button I need to hide same view.

How to do that in swift 2.0.Now what I did is when I click first time - its showing.

@IBAction func PressRefine(sender: AnyObject) {
    menuView.hidden = false
}

But again when I press it should hide. How to do that???

2 Answers
Related