I used multiple storyboard to my app as individual,
like 
Login--->Otp--->homepage(Tabbarcontroller)---->profileview--->settings
every viewcontroller had separate storyboard.navigatoin controller start from loginview. 
in setting page had singout button. when I click singout button I have to show loginview controller 
but when I click on singout button it will pop to profile view, I tried popToRootview controller.
I used many way but nothing is workout, when I click settings button I have to show login view controller how can I achieve.

```
  @objc func signoutClicked(_ sender :UIButton)
{

      self.dismiss(animated: false, completion: {
        self.navigationController!.popToRootViewController(animated: true)

       })
}

```