RE: Obtaining version number of framework at runtime... API avail able?
RE: Obtaining version number of framework at runtime... API avail able?
- Subject: RE: Obtaining version number of framework at runtime... API avail able?
- From: Christian Mike <email@hidden>
- Date: Tue, 13 Nov 2001 07:48:30 -0500
You can use:
myDict = [[NSBundle bundleForClass:[someClassInFramework class]]
infoDictionary];
And then pull out the strings using:
[myDict objectForKey:@"CFBundleGetInfoString"]
[myDict objectForKey:@"CFBundleVersion"]
[myDict objectForKey:@"NSHumanReadableCopyright"]
etc.
Michael Christian
Thomson multimedia Inc.