How to create smaller mini camera view like in Tumblr iPhone app image picker

StackOverflow https://stackoverflow.com/questions/22549914

  •  18-06-2023
  •  | 
  •  

سؤال

I would like to know how Tumblr app is adding a mini camera live view on collection view cell in their app? Is it UIImagePickerController of type camera resized? I would be glad if someone could give more idea on this implementation?

هل كانت مفيدة؟

المحلول

If you want to do that, you're going to have to use AVFoundation. You can size and position the AVCaptureVideoPreviewLayer however you'd like.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top