mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Project update: Upgrade IPHONEOS_DEPLOYMENT_TARGET: iOS 8.0
This commit is contained in:
@@ -731,14 +731,8 @@ NSString* const recentItemCollectionViewCellId = @"recentItemCollectionViewCellI
|
||||
AVCaptureConnection *connection = [movieFileOutput connectionWithMediaType:AVMediaTypeVideo];
|
||||
if ([connection isVideoStabilizationSupported])
|
||||
{
|
||||
if ([connection respondsToSelector:@selector(setPreferredVideoStabilizationMode:)])
|
||||
{
|
||||
[connection setPreferredVideoStabilizationMode:YES];
|
||||
}
|
||||
else
|
||||
{
|
||||
[connection setEnablesVideoStabilizationWhenAvailable:YES];
|
||||
}
|
||||
// Available on iOS 8 and later
|
||||
[connection setPreferredVideoStabilizationMode:YES];
|
||||
}
|
||||
}
|
||||
[movieFileOutput addObserver:self forKeyPath:@"recording" options:(NSKeyValueObservingOptionOld | NSKeyValueObservingOptionNew) context:RecordingContext];
|
||||
|
||||
Reference in New Issue
Block a user