I am using UIImagePickerController to capture & choose video file from library. 
I have to restrict user to capture only video whose size is less than or equal to 5MB.
Is there any solution for that ?
            Asked
            
        
        
            Active
            
        
            Viewed 958 times
        
    6
            
            
        
        Nilesh_iOSDev
        
- 671
 - 4
 - 18
 
- 
                    Hello..you got any solution regarding this? – BhavikKama Jun 30 '15 at 05:45
 - 
                    Try this.. http://stackoverflow.com/a/34370289/3908884 I think you have to compress video before sending it to the server.. – Meet Doshi Dec 29 '15 at 10:09
 - 
                    Hello..you got any solution regarding this? – Yogesh Patel Apr 03 '20 at 10:12