title: How to dismiss UIActionSheet or UIAlertView after the UIViewController popped
body: <p>In a situation, when UIAlertView or UIActionSheet is showing, due to some external event, I am supposed to pop the view controller, when I do so both alert view or Action sheet which is showing on the view is not destroying. As I am showing alerts view in many places I don't want to make it as member variable and dismiss by checking one by one.</p>
  
  <p>How to handle this case? Any idea is really appreciated.</p>
  
  <p>Thanx.</p>