iPhone SDK 4.0: Testing if view is displayed
<p>using iPhone SDK 4.0, how does one determine if a UIViewController is currently in the viewDidAppear state (currently visible). I could set a flag but was wondering if there is a better way.</p>

<p>Thanks.</p>
