2

How to set delay before taking a picture by iphone camera? I use UIImagePickerController. Is there some simple way for it?

Siarhei Fedartsou
  • 1,843
  • 6
  • 30
  • 44
  • See also ["Blocks instead of performSelector:withObject:afterDelay:"](http://stackoverflow.com/questions/4007023/blocks-instead-of-performselectorwithobjectafterdelay). – outis Feb 19 '11 at 09:21

1 Answers1

1

call a method with your "take the pic" after a delay, try this:

[self performSelector:@selector(myMethodToTakeThePhoto) withObject:nil afterDelay:3.5];


-(void)myMethodToTakeThePhoto{
// take the photo
}
meronix
  • 6,175
  • 1
  • 23
  • 36