Commit 21fe2a804947e4bbb73d8f58ed3894862497b056
1 parent
edce21d5
Exists in
IosBuild
Refactoring
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
Assets/Plugins/IOS/iOSNativeShare.m
1 | -#import "iOSNativeShare.h" | |
1 | +#import "iOSNativeShare.h" | |
2 | 2 | #import <AssetsLibrary/ALAssetsLibrary.h> |
3 | 3 | #import <Photos/Photos.h> |
4 | 4 | |
... | ... | @@ -138,7 +138,7 @@ void SendToGallery(NSString *path){ |
138 | 138 | video = assetURL; |
139 | 139 | NSLog(@"Path: %@",assetURL); |
140 | 140 | |
141 | - // [[NSFileManager defaultManager] removeItemAtURL:videoURL error:&removeError]; | |
141 | + [[NSFileManager defaultManager] removeItemAtURL:videoURL error:&removeError]; | |
142 | 142 | UnitySendMessage("ShareIOS", "SaveGalleryResponse", "SUCESS"); |
143 | 143 | |
144 | 144 | } | ... | ... |