//2種方式獲取文件ide
NSBundle *bundle = [NSBundlemainBundle];spa
//第一種ci
NSString *path = [[bundle resourcePath] stringByAppendingPathComponent:@"city.plist"];string
//第二種it
NSString *path = [bundle pathForResource:@"city"ofType:@"plist"];class