Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-05-2010, 04:37 PM   #8 (permalink)
Hero
Registered Member
 
Join Date: Aug 2010
Posts: 1
Hero is on a distinguished road
Default

Quote:
Originally Posted by mohit2305 View Post
First you need to

assign Camera as UIImagePicker Source
then delegate method
then calling a function to open shutter
then take picture
Hi,

I am having a problem with the use of takePicture method on an iphone. I am basically trying to take pictures using the -(void)takePicture method. However, I could not find a good tutorial that explains how to do this. I am new to the iphone app development.

Currently, what I have is a view controller which

creates a picker controller,
sets the picker controller's properties (sourcetype, toolbarhidden, etc.)
creates an overlay view and assigns it to the picker (picker.cameraOverlayView = overlay).
sets the delegate to self
and shows the picker with [self presentModalViewControllericker animated:NO].
On the overlayed view, I have a button. When this button is called, it is supposed to activate the camera's takePicture method. However, I am not sure how to call the picker pointer from inside the overlay view. I'd appreciate any source code examples, but pseudo-code is welcome as well.

Thanks, K.
Hero is offline   Reply With Quote
 

» Advertisements
» Online Users: 368
16 members and 352 guests
Abimennicks, baileetom113, Domele, drupii, flamingliquid, HemiMG, hrushikeshaddon, ipodphone, kirstenricks, krisk, lancetusing, nguyenhieu129, smartbot, thephotographer, TomTool, vbovio
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,574
Threads: 94,081
Posts: 402,751
Top Poster: BrianSlick (7,990)
Welcome to our newest member, mambenk12
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:55 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.