#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; NSString *identifier=[[NSBundle mainBundle]bundleIdentifier]; if ([identifier isEqualToString:@"chen.TestStr111"]) { NSLog(@"110"); } NSLog(@"Bundle Identifier:%@",identifier);//Bundle Identifier:chen.TestStr111 } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated. } @end