title: Navigation pop view when swipe right like Instagram iPhone app.How i achieve this?
body: <p>I want to pop a view when swipe right on screen or it's work like back button of navigation bar.</p>
  
  <p>I am using:</p>
  
  <pre><code>self.navigationController.interactivePopGestureRecognizer.delegate = (id&lt;UIGestureRecognizerDelegate&gt;)self;
  </code></pre>
  
  <p>This single line of code for pop navigation view and it's a work for me but when i swipe form middle of screen this will not work like Instagram iPhone app.</p>
  
  <p>Here i give a one screen of Instagram app in that you can see the Example of swipe right pop navigation view:</p>
  
  <p><img src="https://i.stack.imgur.com/NjfvH.jpg" alt="enter image description here"></p>