Button action is not fired in container View in IOS Swift
<p><a href="https://i.stack.imgur.com/gSb62.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gSb62.png" alt="enter image description here"></a>I'm new to IOS Programming. I created viewController(ViewController.swift) with container view(ContainerViewController.swift) which have 2 views (FirstViewController.swift and SecondViewViewcontroller.swift), and then i added button in FirstViewcontroler and added @IBAction for that, but I'm not able to click the button(action is not working). In container view segue added following code</p>

<p>ContainerViewController.swift</p>

<pre><code>func segueIdentifierReceivedFromParent(button: String){
    buttonClick = button
    if button == "first"
    {
        self.segueIdentifier = "firstSegue"
        self.performSegueWithIdentifier(self.segueIdentifier, sender: nil)
    }
    else if button == "second"
    {
        self.segueIdentifier = "secondSegue"
        self.performSegueWithIdentifier(self.segueIdentifier, sender: nil)
    }
}

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {

    if segue.identifier == segueIdentifier{

        //Avoids creation of a stack of view controllers
        if lastViewController != nil{
            lastViewController.view.removeFromSuperview()
        }

        vc = segue.destinationViewController //as! UIViewController

       self.addChildViewController(vc)
       vc.view.frame = CGRect(x: 0,y: 0, width:self.view.frame.width,height:self.view.frame.height)

      self.view.addSubview(vc.view)
      vc.didMoveToParentViewController(self)
}
</code></pre>

<p>FirstViewController.swift</p>

<pre><code>override func viewDidLoad() {
    super.viewDidLoad()
}

@IBAction func getQuotesAction(sender: UIButton){
    print("Button is Clicked")
}
</code></pre>

<p>this getQuotesAction button is not working
please help me to fix this. Advance thanks for reply.</p>