Skip to content

Instantly share code, notes, and snippets.

View arjavlad's full-sized avatar
💭
Looking for Opportunities in UK

Arjav Lad arjavlad

💭
Looking for Opportunities in UK
View GitHub Profile
@arjavlad
arjavlad / AVAsset+VideoOrientation.h
Created July 5, 2017 12:06 — forked from luca-bernardi/AVAsset+VideoOrientation.h
Find the video orientation of an AVAsset. (Useful if you need to send the video to a remote server)
//
// AVAsset+VideoOrientation.h
//
// Created by Luca Bernardi on 19/09/12.
// Copyright (c) 2012 Luca Bernardi. All rights reserved.
//
#import <AVFoundation/AVFoundation.h>
typedef enum {
LBVideoOrientationUp, //Device starts recording in Portrait