[问题记录]'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0

'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0


原因:这个方法在IOS 6.0已经被废弃


将 [self dismissModalViewControllerAnimated:YES]; 改为 [self dismissViewControllerAnimated:YES completion:nil];


你可能感兴趣的:([问题记录]'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0)