Remove OSPortabilityDefs.h

The macOS support that used it has been removed for a while
This commit is contained in:
Cameron Gutman
2020-11-01 16:50:02 -06:00
parent c3ba447372
commit 42f29c44e6
11 changed files with 13 additions and 41 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
displayLayer = [[AVSampleBufferDisplayLayer alloc] init];
displayLayer.bounds = _view.bounds;
displayLayer.backgroundColor = [OSColor blackColor].CGColor;
displayLayer.backgroundColor = [UIColor blackColor].CGColor;
displayLayer.position = CGPointMake(CGRectGetMidX(_view.bounds), CGRectGetMidY(_view.bounds));
displayLayer.videoGravity = AVLayerVideoGravityResizeAspect;