title: How to get UIViewController of a UIView's superview in iOS?
body: <p>I have a UIViewController in which I have a UITextView added from interface builder. Now I want to push a view when I click on hyperlink or phone number. I am able to detect that which url is clicked using a method I found in stackoverflow. Here is the method</p>
  
  <pre><code>@interface UITextView (Override)
  @end
  
  @class WebView, WebFrame;
  @protocol WebPolicyDecisionListener;
  
  @implementation UITextView (Override)
  
  - (void)webView:(WebView *)webView decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id &lt; WebPolicyDecisionListener &gt;)listener
  {
      NSLog(@"request: %@", request);
  }
  @end
  </code></pre>
  
  <p>Now I want to get the viewController of the textview's superview so that I can push another viewController when I click on URL/Phone Number.</p>