title: How to delete of view button coded in viewController?
body: <p>I have a button in added in the viewController of Swift App, and when I change by modal segue to the next Viewcontroller this element is show in the next viewController. How can I deleted of view this?</p>
  
  <pre><code> override func viewDidLoad()
  {
      super.viewDidLoad()
      // Do any additional setup after loading the view, typically from a nib.
      let logInButton = TWTRLogInButton(logInCompletion: {
          (session: TWTRSession!, error: NSError!) in
          ...
  
          print(session.userName)
          ...
  
      })
  
      logInButton.center = self.view.center
      self.view.addSubview(logInButton)//Here add the button
  }
  </code></pre>
  
  <p>I'trying </p>
  
  <pre><code> self.view.delete(logInButton)
  </code></pre>
  
  <p>But this get error.</p>
  
  <p>Thanks!</p>