Using xcode to access rear camera, iphone iOS5 - iphone

I'm sorry if this is already answered...
All I need is how to fire up the rear facing camera and display it in an image view...no taking pictures, no accessing the photo library, just turning on the camera...simple.
I believe AVCapture is the thing to use, but anything I look into goes way deep than I need and I'm just not that smart. Any help is appreciated.
THANKS!

The AVCam sample from Apple is the best place to start. Be warned that the seemingly simple task of displaying a live video preview from the camera is non-trivial.

Related

In need of basics of AVFoundation to capture images from device camera

I want to know that how can we capture image using AVFoundation framework, I have managed to activate the camera and my Cocos2D view is over the camera and is tranparent. I have tried using some tutorials but I am unable to capture the images( Still Image). I do not want to capture the images of a video, I want a normal camera functionality of clicking the images and then saving them to the camera roll.
I am trying this since two days and I am really stuck at this, when I press the capture button the only thing I get in camera roll is blank white screen.
Please suggest me any tutorial that would cover the basics of how to use AVFoundation framework or any help will be really appreciated. :)
Thanks for your time. :)

How to record screen to video on iPhone with openGL (view preview layer) and UIkit elements?

I have searched everywhere and tried mixing and matching different bits of code but I haven't found anything that works or anyone with the same question.
Basically I want to be able to create video demos of iPhone apps that include standard UIKit elements and also the image coming from the camera (video preview layer). I don't want to use airPlay or iOS simulator to project onto the desktop then capture because I want to be able to make videos outside in public. I have successfully been able to video capture the screen with this code but with the video preview layer being blank. I read that its because its using openGL and what I'm capturing is from the CPU, not the GPU. I have successfully used GPUImage from Brad Larson to capture the video preview layer but it doesn't capture the rest of the UIView. I have seen code that combines both and converts to an image but I'm not sure if that would be too slow for realtime video capture. Can someone point me in the right direction?
It might not be the cleanest solution, but it will work nonetheless: did you consider jailbreaking? I hope Apple does sue me for this one but if you really want to record your screen then simply install a screen recorder. Enough options can be found: http://www.google.be/search?q=iphone+jailbreak+record+screen
And if you don't like it: recover your phone for a previous backup.
(for the record: I'm against jailbreaking and posting this from a productivity point of view)

Screen recording in iphone

I want to make a screen recorder with iphone.
Is it possible to do that?
If yes how can i implement a screen recorder with xcode, anybody can help me.
I know how to implement(i mean the logic),that is add pictures to a video file in a regular interval.but how can i do this with iphone sdk
Help me...
Assuming you mean a standard iPhone which is not jailbroken:
No, you can't. You could write an app that captured images of its own display when running, but you can't capture the screen in general (e.g. the home screen, or other apps' screens). It's not the sort of software Apple would allow, even if you found a way to hack around it (which I imagine wouldn't be possible).
What about this? It seems to indicate that video screen capture and saving (using the UIGetScreenImage function) is now allowed by Apple.
http://www.tuaw.com/2009/12/15/apple-relents-and-is-now-allowing-uigetscreenimage-for-app-st/

Looking to take video of iphone app

Please let me know how i can create a video of iPhone app similar to the below video.
http://www.youtube.com/watch?v=b6n582PIsMc&feature=player_embedded#at=18
Thank you,
Neal
You can use screen capture utilities like ScreenFlow. Also check out SimFinger to give that finger-press effect shown on the video.
As mentioned in the atebits.com blog, there is also Snapz Pro X for screen capture

iPhone Screen Capturing Question

I'm writing an iPhone App that allows people to share images that may be copyrighted(not illegally). The issue I am having is that I'm looking for a way to work around the screen capturing. Is there any possible way you can disable screen capturing or possibly distort the image in some way so capturing will be useless, maybe even block the images when a screen capture is trying to be taken?
That is impossible because it is embedded in iOS itself. Maybe some private APIs, but then there is no app store for your app.
Watermarking the images may be a good half-way solution.
iOS screen capture does not support capturing everything. It does not capture OpenGL or YouTube for example. So if you can manage to implement showing images using OpenGL instead of the simple way using UIKit they would not show up on a screen shot.