i need a minute here, I want to that in swift what should I do if I want to record videos using iPhone's camera in background in lock screen. I am not very much familiar with iOS programming, so kindly explain it at beginners level, any help would be hugely counted and appreciated. Thanks.
You can't let the camera open when leaving foreground, and especially not when the device is locked. Basically you can't.
Related
Am working in iPhone device camera based iOS application. I have one requirement to record video from our application even the device screen is off or in locked. I don't have iPhone, iPod and iPad. And also i don't know it is possible to record video in these conditions. Cound you please give me any idea on this? Looking forward your help. Thanks in advance.
No this is not possible. There's no other way to achieve this.
In some countries it's against the law to even take picture without sound effect, such as Japan for example. No wonder Apple don't allow to shoot pictures from locked screen.
I searched lot in google and tried my level best but, still i cant fix this issue. I want to disable or hide the UIImagePickerController Camera shutter when it is opening.
I searched in google and got advice to use AVCaptureSession. But, in my app i used CustomOverlayView in UIImagePickerController Camera with some buttons. In this case i want to disable or stop to show the Apple's Camera shutter. Simply the user won't to see the camera shutter when they pick the Camera UIImagePickerController. How can i do this? Can you please help me to solve this problem. Thanks in advance.
I have seen some apps cover it up with their overlay, but you can't remove it. AVCaptureSession really does sound more appropriate for your purposes. I see one example here:
http://www.musicalgeometry.com/?p=1273
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.
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/
Sorry if im asking something stupid but please dont shoot me down!
I have done a little playing in xcode but nothing more than a button press counter kindof thing..
I was curious.. when developing with the retina display in mind you obviously produce higher resolutions png's and what not for the new display..
How would you go about making the app run on a lower resolution iPhone?
Would you use the same high res graphics and have the OS do the rest of the work or do you need to write in a chunk of code to switch the graphics based on the device?
Again sorry if its in the documentation but i couldnt find it!
Thanks in advance..
Daniel
You want to read the iOS Application Programming Guide.
Especially Supporting High-Resolution Screens.