打印出所有的 info.plist 中的 keys、values

// get all keys and values in info.plist
NSBundle* mainBundle = [NSBundle mainBundle];
NSDictionary* infoDictionary =  [mainBundle infoDictionary];
id key;
NSArray* keys = [infoDictionary allKeys];
NSLog(@"Display all keys and values in info.plist\n");
for(key in keys)
{
    NSLog(@"key=%@ , value=%@\n",key,[infoDictionary objectForKey:key]);
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-09
  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2021-12-08
相关资源
相似解决方案