Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4609142
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:56:42+00:00 2026-05-22T00:56:42+00:00

I have three camera-based apps (that take still pictures) in the app-store and have

  • 0

I have three camera-based apps (that take still pictures) in the app-store and have got feedback that the UIImagePickerController interface is very slow – and I can’t deny that. So, to improve the performance of the app, I started to experiment with the AVCam Demo source code from the WWDC 2010.

Since the AVFoundation framework does not interact with the UI Kit, I have been successful at wrapping a view around the demo. I am able to transition between the view controllers successfully. The only thing that I’ve modified is replaced the Record button with the Exit button (to exit to the wrapping view controller)

The modified app works fine during the first session (wrapper -> demo) If I exit the demo to the wrapper, and come back to the demo second time , the video frame in the preview layer freezes a second or two after. The app itself does not freeze – just the video is frozen. At this point, all UI buttons are active. But, when I tap “Still” button to capture the image, I get the following error in an alert:

The operation cannot be completed (AVFoundationErrorDomain error – 11800.)

This cannot be duplicated in the original demo code – because you can’t close and reopen the session. So, I am wondering if it has anything to do with the way I “exit” from the session in my test. Here’s the “exit” action that I added in the demo code:

- (IBAction)exit:(id)sender
{
    [[self captureManager] stopRecording];
    [self dismissModalViewControllerAnimated:YES];
}

Is this sufficient – or did I miss something?

Regards, Sam.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T00:56:43+00:00Added an answer on May 22, 2026 at 12:56 am

    There’s a little problem of cleaning up a capture session in an orderly fashion, as there’s some asynchroneous calls with no alerts of when they’re done.

    Try stopping and releasing as suggested in this question:
    How to properly release an AVCaptureSession
    (take the solution with most up votes)

    If that doesn’t help you may need to post some more code here. Are you sure that’s all you changed?

    Good luck!

    Oded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have three divs in a container that I want to float over a large
i have three java based web application app1,app2 and app3 at production. All 3
I have three divs, within a content div. Container width 70%. Within that I
I have three classes that I am using and have shortened for ease of
I have an app that I would like to have video capture for the
I am looking at making an app that uses a camera to measure the
I'm having some trouble with an iPhone app that I'm making. I have two
I have a program that needs to take in a photo taken by an
I'm developing a simple camera app which is based on the android developers tutorial
So I have written a Quaternion based 3D Camera oriented toward new programmers so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.