AppDelegate Access
<p>For the old version xcode/ios, I used:</p>

<pre><code>appDelegate =(AppDelegate *)[[UIApplication sharedApplication] delegate];
</code></pre>

<p>to access AppDelegate</p>

<pre><code>#import "AppDelegate.h"


 @property (nonatomic,retain) AppDelegate *appDelegate;



#import &lt;UIKit/UIKit.h&gt;

@interface AppDelegate : UIResponder &lt;UIApplicationDelegate&gt; {

}
@property (strong, nonatomic) UIWindow *window;


@end

//-----

#import &lt;UIKit/UIKit.h&gt;

#import "AppDelegate.h"
@interface DetailController : UIViewController{
}
  @property (nonatomic,retain) AppDelegate *appDelegate;



@end
</code></pre>

<p>but in ios5 AppDelegate change from NSObject to UIRepsonder</p>

<p>Is it possible to access the AppDelegate?</p>

<p>Welcome ant comment</p>
