getting CFBundleDisplayName from Info.plist

Discussion in 'iPhone' started by mpbahl, Jul 30, 2008.

  1. mpbahl macrumors newbie

    Joined:
    Jul 1, 2008
    #1
    I'm trying to get CFBundleDisplayName from Info.plist using Prefrenences.

    When I use the code below name=nil;

    I must be missing something

    NSObject *name=(NSObject*)CFPreferencesCopyAppValue ((CFStringRef)@"CFBundleDisplayName",kCFPreferencesCurrentApplication);

    suggestions would be great, thanks
     

Share This Page