NSString *sourcePath = [[NSBundle mainBundle]resourcePath]; 转载于:https://www.cnblogs.com/Bo-tree/p/5161383.html