문제

Can I know how to convert a video file in the format m4v to NSData and vice versa?

Thanks

도움이 되었습니까?

해결책

Converting video file into nsdata

NSData *videoData = [NSData dataWithContentsOfFile:videofilepath];

or else video from url

NSData *videoData = [NSData dataWithContentsOfURL:videourl];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top