title: Open browser from a service
body: <p>I'm trying to integrate a instagram login into my app. What I want to do is to open a browser (I was thinking using a <code>UIWebView</code>) where the user logs in and I should intercept the <code>UIWebView</code>s redirect to get my access_token and close the <code>UIWebView</code>. This is simple to do from a <code>UIViewController</code> by implementing the <code>UIWebViewDelegate</code> and overwriting the <code>shouldStartLoadWithRequest:</code> method, but I implemented all of the instagram code in a service class (all of the class methods are static so there is no reason to make an instance of the class) and I want to be able to show and dismiss the browser from this service (without access to the viewController so unable to add the <code>UIWebView</code> as a subview). Is this possible and if so how? Any other subsections?</p>
  
  <p>I'm trying to do this since the login might pop up in more than one controllers and I don't want to copy the same code in n-th places.</p>