title: Button action is not working on subView
body: <p>In one of my iOS project, I have added a subview for Filter ViewController(subview) on my Feed ViewController(main view) programmatically. </p>
  
  <p>There are few button on Filter ViewController to select price, city etc. </p>
  
  <p>The outlets are connected but when I am trying to shoot button action, it is not working. 
  I have also enabled the isUserInteractionEnabled but still it is not working.</p>
  
  <p>Acc. to me, this is something related to subview on a view !! but to resolve this. Can you suggest me how to shoot a button action of subview it happen ?</p>
  
  <pre><code>class FilterViewController: BaseUIViewController{
  
     override func viewWillAppear(_ animated: Bool) {
       super.viewWillAppear(animated)
  
       cityButton.isUserInteractionEnabled = true
     }
  
     @IBAction func selectCity(_ sender: Any)
     {
      print("selectCity action")
     }
  }
  </code></pre>