Pages

Wednesday, June 4, 2014

How to create instance of AppDelegate in ios?

Step 1: import header file of AppDelegate in desired class.

Step 2: Type the command - AppDelegate *appdelegate = (AppDelegate*) [[UIApplication 

                                                                                                      sharedApplication]delegate];


No comments:

Post a Comment