Questions tagged [cameraoverlayview]

The custom view to display on top of the default image picker interface.

You can use an overlay view to present a custom view hierarchy on top of the default image picker interface. The image picker layers your custom overlay view on top of the other image picker views and positions it relative to the screen coordinates. If you have the default camera controls set to be visible, incorporate transparency into your view, or position it to avoid obscuring the underlying content.

This property is set to nil by default.

You can access this property only when the source type of the image picker is set to UIImagePickerControllerSourceTypeCamera. Attempting to access this property for other source types results in the throwing of an NSInvalidArgumentException exception.

22 questions
1
vote
0 answers

Apple's example for Camera overlay - APLViewController.m

I really find the example from apple a good start for working around the UIImagePickerController: APLViewController.m However, there is something that seems core to the overlay that I don't understand. The project works perfectly fine I just hope…
GrandSteph
  • 2,053
  • 1
  • 16
  • 23
0
votes
1 answer

how to make cameraOverlayView along the y axis (swift3)

I am making a photo app that I want the imagePicker screen to have blocks of red to pre mask the photo before it crops. My following code gets a roadblock on the top x axis. I would like to place another red box along the entire y axis where the…
user8105388
0
votes
1 answer

Recording video including record overlay in iOS

I'm using AVFoundation to record video. I added some overlay views on it such as 2 labels. My idea is recording video also recording the overlay views into result video. I mean the result video will also have the overlay views go through with…
Scofield Tran
  • 828
  • 1
  • 18
  • 30
0
votes
1 answer

Using View from Storyboard for ImagePicker

I'm trying to create an overlay on top of an ImagePicker, and finding I can create the UIView programmatically, but would prefer to use a UIView that I can manipulate within Storyboard. As you can see from the code snipper below, I've assigned the…
0
votes
1 answer

didUpdateHeading not being called when view is used as cameraoverlay

i have an issue with the following code: I've implemented a simple ViewController named LayoutViewController, who shows a picture that automatically moves according to magnetic heading. the code consists in: lm = [[CLLocationManager alloc]…
Andrea
  • 1
  • 2
0
votes
0 answers

Move UIImageView in uiimagepickercontroller cameraoverlayview

I have uiimagepickercontroller with cameraoverlayview in view cameraOverlay ,i have uiimageview. How do move and scale uiimageview in cameraOverlay. My code // create the overlay view overlayView = [[OverlayView alloc] initWithFrame:CGRectMake(0, 0,…
0
votes
1 answer

How to make a camera overlay take pictures

I am trying to create an overlay for the camera in my app. I have succeeded in displaying a button to the screen, but I do not know what to set for the selector of the button. So I have a class called CameraOverlay and all it does is put a button on…
1
2