Overlay image in UIImagePickerController depending on device orientation?

You can't change the cameraOverlayView property once the picker is displayed. However, you can modify the view itself. Create a UIView property named overlayView.

Add both images as subViews to this view and use the tag property on each image to easily grab that view again. De the one that shouldn't be shown for the current orientation.

You can't change the cameraOverlayView property once the picker is displayed. However, you can modify the view itself. Create a UIView property named overlayView.

Add both images as subViews to this view and use the tag property on each image to easily grab that view again. De the one that shouldn't be shown for the current orientation. - (void) didOrientation: (id)object { UIInterfaceOrientation interfaceOrientation = object object orientation; UIImageView *pImageView = self.

OverlayView viewWithTag:10; UIImageView *lImageView = self. OverlayView viewWithTag:20; if (interfaceOrientation == UIInterfaceOrientationPortrait || interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown) { NSLog(@"portrait"); pImageView. } else if (interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIInterfaceOrientationLandscapeLeft ){ NSLog(@"landscape"); pImageView..

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions