iOS 取资源文件路径

char *path = [[[NSBundle mainBundle] pathForResource:@"test" ofType:@"png"] UTF8String];

你可能感兴趣的:(ios,String,Path)