ios - CFBundleDisplayName returns 'null' -
i'm trying app name use navcontroller title, whatever can't cfbundledisplayname value. returns 'null'.
this code i'm using
[nsbundle mainbundle] infodictionary][@"cfbundledisplayname"]
checked bundles = there 1 only. xcode5 / dev target ios5. haven't checked on device though. using simulator.
thanks!
try code app name
nsstring *appname = [[[nsbundle mainbundle] infodictionary] objectforkey:(nsstring *)kcfbundlenamekey];
Comments
Post a Comment