首先找到绝对路径
NSString *resourcePath = [[NSBundle mainBundle] pathForResource:@"dizhi_quanqiu" ofType:@"txt"];
NSString* content = [NSString stringWithContentsOfFile:resourcePath encoding:NSUTF8StringEncoding error:nil];
NSDictionary *dic = [self dictionaryWithJsonString:content];