我更新了xcode 7并给出了此错误
传递给需要非null参数的被调用者的null
_recorder = [[AVAudioRecorder alloc]initWithURL:[NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/%@.%@", [NSHomeDirectory() stringByAppendingString:@"/Documents"], name, extension]] settings:nil error:nil];
-Wnonnull
Show Completions
-转到方法名称,然后按Ctrl-Space
nil
。 __nullable