当我尝试打印此字符串时,访问错误:
NSString *myPath = [myPath stringByReplacingOccurrencesOfString:@"/Users/Me/Library/iPhone/4.2/MyApp/Documents/Photos/pic1.png"
withString:@"/Users/John/Library/iPhone/5/MyApp/Documents/Photos/picture.png"];
NSLog(@"%@", myPath);
为什么? 谢谢。