Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIImagePickerController Custom Overlay Black Screen issue while using Video trimming controller #3

Open
inx123 opened this issue Feb 1, 2014 · 0 comments

Comments

@inx123
Copy link

inx123 commented Feb 1, 2014

Hello Everyone ,

I have problem while opening camera in recording mode using UIImagePicker Controller with custom overlay and it should open first time properly .But when i push to next view controller and return back again to open camera at that time camera displays black screen for few time.

The Logic in the inside view controller is for VideoTrimming . For video trimming i have used "SAVideoRangeSlider" controll. SAVideoRange Silder perform task to get all thumbnail images from video which i have assign . It uses AVAsset image generator class provided by apple to get image frames from videos and it runs in background using its handler method.

Handler Method ::
[self.imageGenerator generateCGImagesAsynchronouslyForTimes:times
completionHandler:^(CMTime requestedTime, CGImageRef image, CMTime actualTime,
AVAssetImageGeneratorResult result, NSError *error) {

                                                                  }

I have nilling all the objects related to image generator class when i came back to Camera screen. still issues of black screen occur while opening camera.

This issue occur in ios7 but not in ios6.

Can anyone have any idea about this ...Please relply me ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant