We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560ff5e commit 625f393Copy full SHA for 625f393
iOS_Tips/DarkMode/SmallVideo/Controller/SLShotViewController.m
@@ -398,6 +398,9 @@ - (void)captureTool:(SLAvCaptureTool *)captureTool didFinishRecordingToOutputFil
398
editViewController.videoPath = outputFileURL;
399
editViewController.modalPresentationStyle = UIModalPresentationFullScreen;
400
[self presentViewController:editViewController animated:NO completion:nil];
401
+
402
+ NSInteger fileSize = (NSInteger)[[NSFileManager defaultManager] attributesOfItemAtPath:outputFileURL.path error:nil].fileSize;
403
+ NSLog(@"视频文件大小 === %fM",fileSize/(1024.0*1024.0));
404
}
405
406
0 commit comments