Application Delegate problem.

Discussion in 'iOS Programming' started by newbRacer, Jul 31, 2009.

  1. newbRacer macrumors newbie

    Joined:
    Jul 30, 2009
    Location:
    Singapore
    #1
    warning: ApplicationDelegate may not respond to '<functionname>'

    I have include <functionname> in my applicationdelegate.m folder. I tried calling it using

    Code:
    [(AppDelegate*)[[UIApplication sharedApplication] delegate] <function name> :imageName withImage:imagePath];
    
    and i receive that error. Please help me... :(
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    You'll need to include it in your .h file if you want other methods to be able to access it.
     

Share This Page