How to capture black and white video using in iPhone [duplicate] - iphone

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Recording video in Black and White
How to capture the black and white video
I am developing iPhone application. In this application i need to capture the video that video format is black and white video. I trying to solve this last one week. I don't know how solve this. If anybudy know how to capture the black and white video, here post your commands. give some example link and code also, It's needful for development.
Thanks in Advance.

coreimage (ios 5 or higher) have many of the video/image filters that can be configured to attain dramatic effects including the one you are looking for (b&w).
checkout the documentation for the same:
https://developer.apple.com/library/mac/documentation/graphicsimaging/Conceptual/CoreImaging/index.html

Related

Need command to show fingers (two circle) in IOS simulator [duplicate]

This question already has answers here:
How to mimic two-finger scroll/drag gesture on ios simulator?
(7 answers)
Closed 9 years ago.
I am a blackberry developer. I'm new to IOS. I need to check for pinch events on IOS simulator. I googled it and saw images of two circles. Can you please tell me how I will get swipe (pinch or 2 circle) so that I can check my code?
Please give me any command, for example cmd+shift+2.
I am checking on iPad 6.0 simulator.
Use the option key on your keyboard. This will create two circles on the screen to indicate and mimic a two finger tap and pinch.
I think you hold the command key when you click on the simulator. Might be Option though.

Is this any method to turn on Tourch light in Cammera Mode not Video mode? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Turn on torch/flash on iPhone 4
i make app for camera open it's turn on in flash light..
not open camera in video mode?
so if any method provide by ios to turn on flash light in did load method?
Thanks in advance....
Duplicate of Turn on torch/flash on iPhone
Thanks #progrmr for notifying.

Changing a color depending on iPhone colour [duplicate]

This question already has answers here:
Detecting Color of iPhone/iPad/iPod touch?
(6 answers)
Closed 9 years ago.
I've been working a lot on my new project's colour scheme and concluded that one scheme is the best for use on the white iPhone while a different set should be used on the black one.
How can I specify different picture files to be used on the device depending on its colour?
Unless you can get access to the SN of the phone along with the apple database dicating the color of each phone this won't be possible.
I would recommend instead giving the user an option so that they can pick to change the color scheme of your app.

How to play the flash file on ios5? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can we play .swf files in iphone using Objective C
I want to implement the splash screen on my app. I have an "SWF" file. How to implement the splash screen using this file? Please tell me. Any 3rd party sdk or any framework or library for the same? please give me any idea for this functionality.
Swf is not supported by iOS. You can take the image sequence and use it in place of a swf file.
You won't be able to do that because:
iPhone does not support SWF. This was one of the biggest fight in the mobile industry between Adobe and Apple
the splash screen is shown by the OS while your application is starting and not by user code
any additional animation after splash screen is against Apple's guidelines and will be rejected. See also Adding animation between splashScreen And home screen

When testing on iPod Touch, why are some images appearing huge? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Running app built in iOS4 on iOS 3.0, why is everything huge?
My images in my app are all 2x (or more) the size that they appear at. But for some reason, some of these images are appearing at their original size on the screen, when testing on a device, and so appear twice as large as they do in Interface Builder and on the simulator. And some are appearing at the size they should be.
Any ideas why this could be? My iPod Touch is 1st generation, so it's on 3.0 software.
The app probably only includes double resolution images for the Retina Display, and they're not suffixed with "#2x" to indicate that they're double.