title: Swift How can i convert view to landscape , inside portrait device orientation? It is possible?
body: <p>How can i convert view to landscape inside portrait device orientation</p>
  
  <p>My View controller Code.</p>
  
  <pre><code>import UIKit
  
  class SampleViewController: UIViewController {
  
  
      var commingtextview:String = ""
  
  
      @IBOutlet weak var textview: UITextView!
  
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          navigationController!.navigationBar.barTintColor = UIColorFromRGBs(0x000000)
          navigationController!.navigationBar.tintColor = UIColor.whiteColor();
  
  
         textview.text = self.commingtextview
  
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  
  }
  </code></pre>
  
  <p><code>Important !</code> <strong>My project portrait must be portrait i want to change only this view orientation to landscape.</strong></p>
  
  <p>Also my project orientation</p>
  
  <p>[x] Portrait</p>
  
  <p>[ ] Upside Down</p>
  
  <p>[ ] Landscape Left</p>
  
  <p>[ ] Landscape Right</p>